]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pub/pub-restricted-error.rs
Auto merge of #98638 - bjorn3:less_string_interning, r=tmiasko
[rust.git] / src / test / ui / pub / pub-restricted-error.rs
1 struct Bar(pub(()));
2
3 struct Foo {
4     pub(crate) () foo: usize, //~ ERROR expected identifier
5 }
6
7 fn main() {}