2018-02-07 21:35:35 -06:00
|
|
|
error[E0057]: this function takes 1 parameter but 0 parameters were supplied
|
|
|
|
--> $DIR/E0057.rs:13:13
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let a = f(); //~ ERROR E0057
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^^^ expected 1 parameter
|
|
|
|
|
|
|
|
error[E0057]: this function takes 1 parameter but 2 parameters were supplied
|
|
|
|
--> $DIR/E0057.rs:15:13
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let c = f(2, 3); //~ ERROR E0057
|
2018-02-07 21:35:35 -06:00
|
|
|
| ^^^^^^^ expected 1 parameter
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0057"
|