14 lines
265 B
Rust
14 lines
265 B
Rust
|
// The 'std' crates should always be implicitly public,
|
||
|
// without having to pass any compiler arguments
|
||
|
|
||
|
// run-pass
|
||
|
|
||
|
#![feature(public_private_dependencies)]
|
||
|
#![deny(external_private_dependency)]
|
||
|
|
||
|
pub struct PublicType {
|
||
|
pub field: Option<u8>
|
||
|
}
|
||
|
|
||
|
fn main() {}
|