Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
self
/
self-shadowing-import.rs
blob: 1d60c6c22768d7eba3466a025fb39e2345215e1f [
file
] [
log
] [
blame
]
// run-pass
mod
a
{
pub
mod
b
{
pub
mod
a
{
pub
fn
foo
()
->
isize
{
return
1
;
}
}
}
}
mod
c
{
use
a
::
b
::
a
;
pub
fn
bar
()
{
assert_eq
!(
a
::
foo
(),
1
);
}
}
pub
fn
main
()
{
c
::
bar
();
}