]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/E0057.stderr
6b5890cac36c5e0997da12bbd0bfab32325ce121
[rust.git] / src / test / ui / span / E0057.stderr
1 error[E0057]: this function takes 1 parameter but 0 parameters were supplied
2   --> $DIR/E0057.rs:3:13
3    |
4 LL |     let a = f();
5    |             ^^^ expected 1 parameter
6
7 error[E0057]: this function takes 1 parameter but 2 parameters were supplied
8   --> $DIR/E0057.rs:5:13
9    |
10 LL |     let c = f(2, 3);
11    |             ^^^^^^^ expected 1 parameter
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0057`.