Sign in
fuchsia
/
third_party
/
rust
/
b9f08d24717fe3dd39a900b5d74034151190d84c
/
.
/
src
/
test
/
ui
/
rust-2018
/
uniform-paths
/
block-scoped-shadow-nested.rs
blob: 19be7dc9640409383dbfa8f560a0e16484485944 [
file
] [
log
] [
blame
]
// edition:2018
#![
feature
(
uniform_paths
)]
mod
my
{
pub
mod
sub
{
pub
fn
bar
()
{}
}
}
mod
sub
{
pub
fn
bar
()
{}
}
fn
foo
()
{
use
my
::
sub
;
{
use
sub
::
bar
;
//~ ERROR `sub` is ambiguous
}
}
fn
main
()
{}