rust/tests/ui/duplicate/duplicate-parameter.rs

6 lines
116 B
Rust

fn f(a: isize, a: isize) {}
//~^ ERROR identifier `a` is bound more than once in this parameter list
fn main() {
}