Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
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
()
{}