Files
rust/tests/ui/privacy/pub-priv-dep/std-pub.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
227 B
Rust
Raw Normal View History

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