#![feature(tuple_trait)] fn assert_is_tuple() {} struct TupleStruct(i32, i32); fn from_param_env() { assert_is_tuple::(); //~^ ERROR `T` is not a tuple } fn main() { assert_is_tuple::(); //~^ ERROR `i32` is not a tuple assert_is_tuple::<(i32)>(); //~^ ERROR `i32` is not a tuple assert_is_tuple::(); //~^ ERROR `TupleStruct` is not a tuple }