rust/tests/ui/resolve/auxiliary/privacy-struct-ctor.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
119 B
Rust
Raw Normal View History

pub mod m {
pub struct S(u8);
pub mod n {
2017-03-07 17:50:13 -06:00
pub(in m) struct Z(pub(in m::n) u8);
}
}
pub use m::S;