rust/tests/ui/parser/omitted-arg-in-item-fn.rs
2023-01-11 09:32:08 +00:00

5 lines
82 B
Rust

fn foo(x) { //~ ERROR expected one of `:`, `@`, or `|`, found `)`
}
fn main() {}