]> git.proxmox.com Git - rustc.git/blame - src/test/ui/argument-suggestions/issue-98897.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / argument-suggestions / issue-98897.stderr
CommitLineData
923072b8
FG
1error[E0057]: this function takes 2 arguments but 1 argument was supplied
2 --> $DIR/issue-98897.rs:2:5
3 |
4LL | (|_, ()| ())([return, ()]);
5 | ^^^^^^^^^^^^-------------- an argument of type `()` is missing
6 |
7note: closure defined here
8 --> $DIR/issue-98897.rs:2:6
9 |
10LL | (|_, ()| ())([return, ()]);
11 | ^^^^^^^
12help: provide the argument
13 |
14LL | (|_, ()| ())([return, ()], ());
f2b60f7d 15 | ~~~~~~~~~~~~~~~~~~
923072b8
FG
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0057`.