summaryrefslogtreecommitdiffstats
path: root/src/test/ui/privacy/pub-priv-dep/std-pub.rs
blob: e25aa93a02e605da455100732a58ecffed68e98b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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() {}