]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18501.rs
Rollup merge of #92942 - Xaeroxe:raw_arg, r=dtolnay
[rust.git] / src / test / ui / issues / issue-18501.rs
1 // run-pass
2 // Test that we don't ICE when inlining a function from another
3 // crate that uses a trait method as a value due to incorrectly
4 // translating the def ID of the trait during AST decoding.
5
6 // aux-build:issue-18501.rs
7 // pretty-expanded FIXME #23616
8
9 extern crate issue_18501 as issue;
10
11 fn main() {
12     issue::pass_method();
13 }