diff options
Diffstat (limited to 'tests/ui/unboxed-closures/non-tupled-call.stderr')
-rw-r--r-- | tests/ui/unboxed-closures/non-tupled-call.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/unboxed-closures/non-tupled-call.stderr b/tests/ui/unboxed-closures/non-tupled-call.stderr new file mode 100644 index 000000000..35ac9ebe2 --- /dev/null +++ b/tests/ui/unboxed-closures/non-tupled-call.stderr @@ -0,0 +1,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`. |