Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
lint
/
issue-57410.rs
blob: ed0fbc87bfbdb31d011321e9c1242a4e2c2358fb [
file
] [
log
] [
blame
] [
edit
]
//@ 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
()
{}