Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-57410.rs
blob: de7ae4b3c07646a66fd3c9db4168eb9c5eb82fab [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be 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
()
{}