1 error[E0277]: `T` is not a tuple
2 --> $DIR/builtin-fail.rs:8:23
4 LL | assert_is_tuple::<T>();
5 | ^ the trait `Tuple` is not implemented for `T`
7 note: required by a bound in `assert_is_tuple`
8 --> $DIR/builtin-fail.rs:3:23
10 LL | fn assert_is_tuple<T: std::marker::Tuple + ?Sized>() {}
11 | ^^^^^^^^^^^^^^^^^^ required by this bound in `assert_is_tuple`
12 help: consider restricting type parameter `T`
14 LL | fn from_param_env<T: std::marker::Tuple>() {
15 | ++++++++++++++++++++
17 error[E0277]: `i32` is not a tuple
18 --> $DIR/builtin-fail.rs:13:23
20 LL | assert_is_tuple::<i32>();
21 | ^^^ the trait `Tuple` is not implemented for `i32`
23 note: required by a bound in `assert_is_tuple`
24 --> $DIR/builtin-fail.rs:3:23
26 LL | fn assert_is_tuple<T: std::marker::Tuple + ?Sized>() {}
27 | ^^^^^^^^^^^^^^^^^^ required by this bound in `assert_is_tuple`
29 error[E0277]: `i32` is not a tuple
30 --> $DIR/builtin-fail.rs:15:24
32 LL | assert_is_tuple::<(i32)>();
33 | ^^^ the trait `Tuple` is not implemented for `i32`
35 note: required by a bound in `assert_is_tuple`
36 --> $DIR/builtin-fail.rs:3:23
38 LL | fn assert_is_tuple<T: std::marker::Tuple + ?Sized>() {}
39 | ^^^^^^^^^^^^^^^^^^ required by this bound in `assert_is_tuple`
41 error[E0277]: `TupleStruct` is not a tuple
42 --> $DIR/builtin-fail.rs:17:23
44 LL | assert_is_tuple::<TupleStruct>();
45 | ^^^^^^^^^^^ the trait `Tuple` is not implemented for `TupleStruct`
47 note: required by a bound in `assert_is_tuple`
48 --> $DIR/builtin-fail.rs:3:23
50 LL | fn assert_is_tuple<T: std::marker::Tuple + ?Sized>() {}
51 | ^^^^^^^^^^^^^^^^^^ required by this bound in `assert_is_tuple`
53 error: aborting due to 4 previous errors
55 For more information about this error, try `rustc --explain E0277`.