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-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0057`.
|