rust/tests/ui/unboxed-closures/non-tupled-call.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
300 B
Plaintext
Raw Normal View History

2022-12-20 12:30:12 -06:00
error[E0059]: cannot use call notation; the first type parameter for the function trait is neither a tuple nor unit
--> $DIR/non-tupled-call.rs:9:5
|
LL | func(x);
| ^^^^^^^
error: aborting due to 1 previous error
2022-12-20 12:30:12 -06:00
For more information about this error, try `rustc --explain E0059`.