summaryrefslogtreecommitdiffstats
path: root/src/test/ui/self/explicit_self_xcrate_exe.rs
blob: c3796f73ab5f7d0534c846148f7cb280f7983494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
// aux-build:explicit_self_xcrate.rs

// pretty-expanded FIXME #23616

extern crate explicit_self_xcrate;
use explicit_self_xcrate::{Foo, Bar};

pub fn main() {
    let x = Bar { x: "hello".to_string() };
    x.f();
}