mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
13 lines
338 B
Rust
13 lines
338 B
Rust
// run-pass
|
|
// Test that we don't ICE when inlining a function from another
|
|
// crate that uses a trait method as a value due to incorrectly
|
|
// translating the def ID of the trait during AST decoding.
|
|
|
|
// aux-build:issue-18501.rs
|
|
// pretty-expanded FIXME #23616
|
|
|
|
extern crate issue_18501 as issue;
|
|
|
|
fn main() {
|
|
issue::pass_method();
|
|
}
|