summaryrefslogtreecommitdiffstats
path: root/src/test/ui/mismatched_types/unboxed-closures-vtable-mismatch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/mismatched_types/unboxed-closures-vtable-mismatch.rs')
-rw-r--r--src/test/ui/mismatched_types/unboxed-closures-vtable-mismatch.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/mismatched_types/unboxed-closures-vtable-mismatch.rs b/src/test/ui/mismatched_types/unboxed-closures-vtable-mismatch.rs
index 8dbe3472e..307104e47 100644
--- a/src/test/ui/mismatched_types/unboxed-closures-vtable-mismatch.rs
+++ b/src/test/ui/mismatched_types/unboxed-closures-vtable-mismatch.rs
@@ -1,8 +1,8 @@
-#![feature(unboxed_closures)]
+#![feature(unboxed_closures,tuple_trait)]
use std::ops::FnMut;
-fn to_fn_mut<A, F: FnMut<A>>(f: F) -> F { f }
+fn to_fn_mut<A:std::marker::Tuple, F:FnMut<A>>(f: F) -> F { f }
fn call_it<F: FnMut(isize, isize) -> isize>(y: isize, mut f: F) -> isize {
//~^ NOTE required by this bound in `call_it`