rust/src/test/ui/parser/removed-syntax-mode.rs

5 lines
78 B
Rust
Raw Normal View History

fn f(+x: isize) {}
//~^ ERROR expected argument name, found `+`
fn main() {}