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 main()12 fn main() {} 13