]>
Commit | Line | Data |
---|---|---|
c30ab7b3 SL |
1 | error[E0057]: this function takes 1 parameter but 0 parameters were supplied |
2 | --> $DIR/E0057.rs:13:13 | |
3 | | | |
4 | 13 | let a = f(); //~ ERROR E0057 | |
5 | | ^^^ | |
6 | | | |
7 | = note: the following parameter type was expected: (_,) | |
8 | ||
9 | error[E0057]: this function takes 1 parameter but 2 parameters were supplied | |
10 | --> $DIR/E0057.rs:15:15 | |
11 | | | |
12 | 15 | let c = f(2, 3); //~ ERROR E0057 | |
13 | | ^^^^ | |
14 | | | |
15 | = note: the following parameter type was expected: (_,) | |
16 | ||
17 | error: aborting due to 2 previous errors | |
18 |