Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (11 sloc) 272 Bytes
// 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() {}
You can’t perform that action at this time.