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