Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
imports
/
import.rs
blob: de8bf62611416e101c15b69809add9e8702f4da4 [
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
();
}