rust/tests/ui/privacy/pub-priv-dep/std-pub.rs
2024-02-16 20:02:50 +00:00

13 lines
227 B
Rust

// The 'std' crates should always be implicitly public,
// without having to pass any compiler arguments
//@ run-pass
#![deny(exported_private_dependencies)]
pub struct PublicType {
pub field: Option<u8>
}
fn main() {}