]> git.proxmox.com Git - rustc.git/blob - src/test/ui/tuple/wrong_argument_ice-2.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / tuple / wrong_argument_ice-2.stderr
1 error[E0061]: this function takes 1 argument but 2 arguments were supplied
2 --> $DIR/wrong_argument_ice-2.rs:13:5
3 |
4 LL | test(x.qux(), x.qux());
5 | ^^^^
6 |
7 note: function defined here
8 --> $DIR/wrong_argument_ice-2.rs:1:4
9 |
10 LL | fn test(t: (i32, i32)) {}
11 | ^^^^ -------------
12 help: use parentheses to construct a tuple
13 |
14 LL | test((x.qux(), x.qux()));
15 | + +
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0061`.