]> git.lizzy.rs Git - rust.git/blob - tests/ui/unboxed-closures/non-tupled-call.stderr
Rollup merge of #107171 - petrochenkov:encattrs, r=cjgillot
[rust.git] / tests / ui / unboxed-closures / non-tupled-call.stderr
1 error[E0059]: cannot use call notation; the first type parameter for the function trait is neither a tuple nor unit
2   --> $DIR/non-tupled-call.rs:9:5
3    |
4 LL |     func(x);
5    |     ^^^^^^^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0059`.