rust/tests/ui/pub/pub-ident-fn-or-struct.rs
2023-01-11 09:32:08 +00:00

4 lines
100 B
Rust

pub S (foo) bar
//~^ ERROR missing `fn` or `struct` for function or struct definition
fn main() {}