Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try-perf
/
.
/
tests
/
ui
/
imports
/
show-private-items-issue-138626.rs
blob: 4d7ab28efdd67c4b6d5e65f12dc17177034627c1 [
file
] [
log
] [
blame
] [
edit
]
//@ edition:2015
pub
mod
one
{
mod
foo
{
pub
struct
Foo
;
}
pub
use
self
::
foo
::
Foo
;
}
pub
mod
two
{
mod
foo
{
mod
bar
{
pub
struct
Foo
;
}
}
pub
use
crate
::
two
::
foo
::
Foo
;
//~ ERROR unresolved import `crate::two::foo::Foo` [E0432]
}
fn
main
()
{}