rust/tests/ui/parser/removed-syntax/removed-syntax-mode.rs

5 lines
79 B
Rust

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