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> where T: Iterator<Item: Copy> = T;
11 LL + type _TaWhere1<T> = T;
14 warning: where clauses are not enforced in type aliases
15 --> $DIR/type-alias.rs:6:25
17 LL | type _TaWhere2<T> where T: Iterator<Item: 'static> = T;
18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
20 help: the clause will not be checked when the type alias is used, and should be removed
22 LL - type _TaWhere2<T> where T: Iterator<Item: 'static> = T;
23 LL + type _TaWhere2<T> = T;
26 warning: where clauses are not enforced in type aliases
27 --> $DIR/type-alias.rs:7:25
29 LL | type _TaWhere3<T> where T: Iterator<Item: 'static> = T;
30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
32 help: the clause will not be checked when the type alias is used, and should be removed
34 LL - type _TaWhere3<T> where T: Iterator<Item: 'static> = T;
35 LL + type _TaWhere3<T> = T;
38 warning: where clauses are not enforced in type aliases
39 --> $DIR/type-alias.rs:8:25
41 LL | type _TaWhere4<T> where T: Iterator<Item: 'static + Copy + Send> = T;
42 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44 help: the clause will not be checked when the type alias is used, and should be removed
46 LL - type _TaWhere4<T> where T: Iterator<Item: 'static + Copy + Send> = T;
47 LL + type _TaWhere4<T> = T;
50 warning: where clauses are not enforced in type aliases
51 --> $DIR/type-alias.rs:9:25
53 LL | type _TaWhere5<T> where T: Iterator<Item: for<'a> Into<&'a u8>> = T;
54 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56 help: the clause will not be checked when the type alias is used, and should be removed
58 LL - type _TaWhere5<T> where T: Iterator<Item: for<'a> Into<&'a u8>> = T;
59 LL + type _TaWhere5<T> = T;
62 warning: where clauses are not enforced in type aliases
63 --> $DIR/type-alias.rs:10:25
65 LL | type _TaWhere6<T> where T: Iterator<Item: Iterator<Item: Copy>> = T;
66 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
68 help: the clause will not be checked when the type alias is used, and should be removed
70 LL - type _TaWhere6<T> where T: Iterator<Item: Iterator<Item: Copy>> = T;
71 LL + type _TaWhere6<T> = T;
74 warning: bounds on generic parameters are not enforced in type aliases
75 --> $DIR/type-alias.rs:12:20
77 LL | type _TaInline1<T: Iterator<Item: Copy>> = T;
78 | ^^^^^^^^^^^^^^^^^^^^
80 help: the bound will not be checked when the type alias is used, and should be removed
82 LL - type _TaInline1<T: Iterator<Item: Copy>> = T;
83 LL + type _TaInline1<T> = T;
86 warning: bounds on generic parameters are not enforced in type aliases
87 --> $DIR/type-alias.rs:13:20
89 LL | type _TaInline2<T: Iterator<Item: 'static>> = T;
90 | ^^^^^^^^^^^^^^^^^^^^^^^
92 help: the bound will not be checked when the type alias is used, and should be removed
94 LL - type _TaInline2<T: Iterator<Item: 'static>> = T;
95 LL + type _TaInline2<T> = T;
98 warning: bounds on generic parameters are not enforced in type aliases
99 --> $DIR/type-alias.rs:14:20
101 LL | type _TaInline3<T: Iterator<Item: 'static>> = T;
102 | ^^^^^^^^^^^^^^^^^^^^^^^
104 help: the bound will not be checked when the type alias is used, and should be removed
106 LL - type _TaInline3<T: Iterator<Item: 'static>> = T;
107 LL + type _TaInline3<T> = T;
110 warning: bounds on generic parameters are not enforced in type aliases
111 --> $DIR/type-alias.rs:15:20
113 LL | type _TaInline4<T: Iterator<Item: 'static + Copy + Send>> = T;
114 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
116 help: the bound will not be checked when the type alias is used, and should be removed
118 LL - type _TaInline4<T: Iterator<Item: 'static + Copy + Send>> = T;
119 LL + type _TaInline4<T> = T;
122 warning: bounds on generic parameters are not enforced in type aliases
123 --> $DIR/type-alias.rs:16:20
125 LL | type _TaInline5<T: Iterator<Item: for<'a> Into<&'a u8>>> = T;
126 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
128 help: the bound will not be checked when the type alias is used, and should be removed
130 LL - type _TaInline5<T: Iterator<Item: for<'a> Into<&'a u8>>> = T;
131 LL + type _TaInline5<T> = T;
134 warning: bounds on generic parameters are not enforced in type aliases
135 --> $DIR/type-alias.rs:17:20
137 LL | type _TaInline6<T: Iterator<Item: Iterator<Item: Copy>>> = T;
138 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
140 help: the bound will not be checked when the type alias is used, and should be removed
142 LL - type _TaInline6<T: Iterator<Item: Iterator<Item: Copy>>> = T;
143 LL + type _TaInline6<T> = T;
146 warning: 12 warnings emitted