blob: 97d733a7b2dd76869ca65b5a2aab9f67bf3acb33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
More than one function parameter have the same name.
Erroneous code example:
```compile_fail,E0415
fn foo(f: i32, f: i32) {} // error: identifier `f` is bound more than
// once in this parameter list
```
Please verify you didn't misspell parameters' name. Example:
```
fn foo(f: i32, g: i32) {} // ok!
```
|