2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2012-11-26 18:08:01 -08:00
|
|
|
// aux-build:explicit_self_xcrate.rs
|
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-02-14 10:10:06 -08:00
|
|
|
extern crate explicit_self_xcrate;
|
2012-11-26 18:08:01 -08:00
|
|
|
use explicit_self_xcrate::{Foo, Bar};
|
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2014-05-25 03:17:19 -07:00
|
|
|
let x = Bar { x: "hello".to_string() };
|
2012-11-26 18:08:01 -08:00
|
|
|
x.f();
|
|
|
|
}
|