1 #![feature(fn_traits, unboxed_closures, tuple_trait)]
3 use std::default::Default;
4 use std::marker::Tuple;
6 fn wrap<P: Tuple + Default, T>(func: impl Fn<P, Output = T>) {
7 let x: P = Default::default();
8 // Should be: `func.call(x);`
10 //~^ ERROR cannot use call notation; the first type parameter for the function trait is neither a tuple nor unit