mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
13 lines
226 B
Rust
13 lines
226 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() {}
|