Sign in
fuchsia
/
third_party
/
rust
/
2a3e17c6d5c49eeb770ade2fa660f98e9cce0ce0
/
.
/
tests
/
ui
/
imports
/
import-rpass.rs
blob: 97c64fd9c6320813570ec39880ec4f8bd24a6552 [
file
] [
log
] [
blame
]
//@ 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
();
}