]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/pub-priv-dep/std-pub.rs
Remove feature from test
[rust.git] / src / test / ui / privacy / pub-priv-dep / std-pub.rs
1 // The 'std' crates should always be implicitly public,
2 // without having to pass any compiler arguments
3
4 // run-pass
5
6 #![deny(exported_private_dependencies)]
7
8 pub struct PublicType {
9     pub field: Option<u8>
10 }
11
12 fn main() {}