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

5 lines
97 B
Rust
Raw Normal View History

// compile-flags: -Z parse-only
fn f(+x: isize) {}
//~^ ERROR expected argument name, found `+`