summary refs log tree commit diff
path: root/src/test/ui/span/E0057.stderr
blob: 656fdbe2b29bd5acbcdd2b66ce2cb3a975c559b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error[E0057]: this function takes 1 parameter but 0 parameters were supplied
  --> $DIR/E0057.rs:13:13
   |
13 |     let a = f(); //~ ERROR E0057
   |             ^^^
   |
   = note: the following parameter type was expected: (_,)

error[E0057]: this function takes 1 parameter but 2 parameters were supplied
  --> $DIR/E0057.rs:15:15
   |
15 |     let c = f(2, 3); //~ ERROR E0057
   |               ^^^^
   |
   = note: the following parameter type was expected: (_,)

error: aborting due to 2 previous errors