rust/tests/ui/pub/pub-restricted-error.rs
2023-01-11 09:32:08 +00:00

8 lines
111 B
Rust

struct Bar(pub(()));
struct Foo {
pub(crate) () foo: usize, //~ ERROR expected identifier
}
fn main() {}