Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
self
/
explicit_self_xcrate_exe.rs
blob: 3bd64d6a4abc9ceb996b050b31f8859349eebd3c [
file
] [
log
] [
blame
]
//@ run-pass
//@ aux-build:explicit_self_xcrate.rs
extern
crate explicit_self_xcrate
;
use
explicit_self_xcrate
::{
Foo
,
Bar
};
pub
fn
main
()
{
let
x
=
Bar
{
x
:
"hello"
.
to_string
()
};
x
.
f
();
}