Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-57410.rs
blob: 0cf4b8068e46b857e789e773293b4ded4b68da6a [
file
] [
log
] [
blame
]
// check-pass
// Tests that the `unreachable_pub` lint doesn't fire for `pub self::imp::f`.
#![
deny
(
unreachable_pub
)]
mod
m
{
mod
imp
{
pub
fn
f
()
{}
}
pub
use
self
::
imp
::
f
;
}
pub
use
self
::
m
::
f
;
fn
main
()
{}