rust/tests/ui/parser/omitted-arg-in-item-fn.rs

5 lines
82 B
Rust

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