about summary refs log tree commit diff
path: root/tests/ui/error-codes/E0059.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/error-codes/E0059.rs')
-rw-r--r--tests/ui/error-codes/E0059.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0059.rs b/tests/ui/error-codes/E0059.rs
index f775089bfb9..a04cc0cb2b9 100644
--- a/tests/ui/error-codes/E0059.rs
+++ b/tests/ui/error-codes/E0059.rs
@@ -1,6 +1,8 @@
 #![feature(unboxed_closures)]
 
 fn foo<F: Fn<i32>>(f: F) -> F::Output { f(3) } //~ ERROR E0059
+//~^ ERROR `i32` is not a tuple
+//~| ERROR cannot use call notation
 
 fn main() {
 }