summaryrefslogtreecommitdiffstats
path: root/tests/ui/unboxed-closures/non-tupled-call.stderr
blob: 35ac9ebe291037dde68e0bd0595714c6af14aedc (plain)
1
2
3
4
5
6
7
8
9
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 previous error

For more information about this error, try `rustc --explain E0059`.