rust/tests/ui/duplicate/duplicate-parameter.rs
2023-01-11 09:32:08 +00:00

5 lines
116 B
Rust

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