]> git.lizzy.rs Git - rust.git/blob - src/test/ui/self/explicit_self_xcrate_exe.rs
Rollup merge of #101388 - compiler-errors:issue-101376, r=fee1-dead
[rust.git] / src / test / ui / self / explicit_self_xcrate_exe.rs
1 // run-pass
2 // aux-build:explicit_self_xcrate.rs
3
4 // pretty-expanded FIXME #23616
5
6 extern crate explicit_self_xcrate;
7 use explicit_self_xcrate::{Foo, Bar};
8
9 pub fn main() {
10     let x = Bar { x: "hello".to_string() };
11     x.f();
12 }