1 warning: where clauses are not enforced in type aliases
2 --> $DIR/type-alias.rs:5:25
4 LL | type _TaWhere1<T> where T: Iterator<Item: Copy> = T;
5 | ^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(type_alias_bounds)]` on by default
8 help: the clause will not be checked when the type alias is used, and should be removed
10 LL | type _TaWhere1<T> = T;
13 warning: where clauses are not enforced in type aliases
14 --> $DIR/type-alias.rs:6:25
16 LL | type _TaWhere2<T> where T: Iterator<Item: 'static> = T;
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
19 help: the clause will not be checked when the type alias is used, and should be removed
21 LL | type _TaWhere2<T> = T;
24 warning: where clauses are not enforced in type aliases
25 --> $DIR/type-alias.rs:7:25
27 LL | type _TaWhere3<T> where T: Iterator<Item: 'static> = T;
28 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
30 help: the clause will not be checked when the type alias is used, and should be removed
32 LL | type _TaWhere3<T> = T;
35 warning: where clauses are not enforced in type aliases
36 --> $DIR/type-alias.rs:8:25
38 LL | type _TaWhere4<T> where T: Iterator<Item: 'static + Copy + Send> = T;
39 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
41 help: the clause will not be checked when the type alias is used, and should be removed
43 LL | type _TaWhere4<T> = T;
46 warning: where clauses are not enforced in type aliases
47 --> $DIR/type-alias.rs:9:25
49 LL | type _TaWhere5<T> where T: Iterator<Item: for<'a> Into<&'a u8>> = T;
50 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
52 help: the clause will not be checked when the type alias is used, and should be removed
54 LL | type _TaWhere5<T> = T;
57 warning: where clauses are not enforced in type aliases
58 --> $DIR/type-alias.rs:10:25
60 LL | type _TaWhere6<T> where T: Iterator<Item: Iterator<Item: Copy>> = T;
61 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
63 help: the clause will not be checked when the type alias is used, and should be removed
65 LL | type _TaWhere6<T> = T;
68 warning: bounds on generic parameters are not enforced in type aliases
69 --> $DIR/type-alias.rs:12:20
71 LL | type _TaInline1<T: Iterator<Item: Copy>> = T;
72 | ^^^^^^^^^^^^^^^^^^^^
74 help: the bound will not be checked when the type alias is used, and should be removed
76 LL | type _TaInline1<T> = T;
79 warning: bounds on generic parameters are not enforced in type aliases
80 --> $DIR/type-alias.rs:13:20
82 LL | type _TaInline2<T: Iterator<Item: 'static>> = T;
83 | ^^^^^^^^^^^^^^^^^^^^^^^
85 help: the bound will not be checked when the type alias is used, and should be removed
87 LL | type _TaInline2<T> = T;
90 warning: bounds on generic parameters are not enforced in type aliases
91 --> $DIR/type-alias.rs:14:20
93 LL | type _TaInline3<T: Iterator<Item: 'static>> = T;
94 | ^^^^^^^^^^^^^^^^^^^^^^^
96 help: the bound will not be checked when the type alias is used, and should be removed
98 LL | type _TaInline3<T> = T;
101 warning: bounds on generic parameters are not enforced in type aliases
102 --> $DIR/type-alias.rs:15:20
104 LL | type _TaInline4<T: Iterator<Item: 'static + Copy + Send>> = T;
105 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
107 help: the bound will not be checked when the type alias is used, and should be removed
109 LL | type _TaInline4<T> = T;
112 warning: bounds on generic parameters are not enforced in type aliases
113 --> $DIR/type-alias.rs:16:20
115 LL | type _TaInline5<T: Iterator<Item: for<'a> Into<&'a u8>>> = T;
116 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
118 help: the bound will not be checked when the type alias is used, and should be removed
120 LL | type _TaInline5<T> = T;
123 warning: bounds on generic parameters are not enforced in type aliases
124 --> $DIR/type-alias.rs:17:20
126 LL | type _TaInline6<T: Iterator<Item: Iterator<Item: Copy>>> = T;
127 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129 help: the bound will not be checked when the type alias is used, and should be removed
131 LL | type _TaInline6<T> = T;
134 warning: 12 warnings emitted