Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
lint
/
issue-57410-1.rs
blob: d825cb1800864b48bd75f438449c4fe68adba2c6 [
file
] [
log
] [
blame
]
// check-pass
// Originally from #53925.
// Tests that the `unreachable_pub` lint doesn't fire for `pub self::bar::Bar`.
#![
deny
(
unreachable_pub
)]
mod
foo
{
mod
bar
{
pub
struct
Bar
;
}
pub
use
self
::
bar
::
Bar
;
}
pub
use
foo
::
Bar
;
fn
main
()
{}