Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
imports
/
import-rpass.rs
blob: f03f974d573abf4be4a02324f83e516f4febb844 [
file
] [
log
] [
blame
]
//@ run-pass
mod
foo
{
pub
fn
x
(
y
:
isize
)
{
println
!(
"{}"
,
y
);
}
}
mod
bar
{
use
crate
::
foo
::
x
;
use
crate
::
foo
::
x
as
z
;
pub
fn
thing
()
{
x
(
10
);
z
(
10
);
}
}
pub
fn
main
()
{
bar
::
thing
();
}