@@ -5,93 +5,129 @@ LL | type _TaWhere1<T> where T: Iterator<Item: Copy> = T;
55 | ^^^^^^^^^^^^^^^^^^^^^^^
66 |
77 = 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
8+ help: the clause will not be checked when the type alias is used, and should be removed
9+ |
10+ LL | type _TaWhere1<T> = T;
11+ | --
912
1013warning: where clauses are not enforced in type aliases
1114 --> $DIR/type-alias.rs:6:25
1215 |
1316LL | type _TaWhere2<T> where T: Iterator<Item: 'static> = T;
1417 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1518 |
16- = help: the clause will not be checked when the type alias is used, and should be removed
19+ help: the clause will not be checked when the type alias is used, and should be removed
20+ |
21+ LL | type _TaWhere2<T> = T;
22+ | --
1723
1824warning: where clauses are not enforced in type aliases
1925 --> $DIR/type-alias.rs:7:25
2026 |
2127LL | type _TaWhere3<T> where T: Iterator<Item: 'static> = T;
2228 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2329 |
24- = help: the clause will not be checked when the type alias is used, and should be removed
30+ help: the clause will not be checked when the type alias is used, and should be removed
31+ |
32+ LL | type _TaWhere3<T> = T;
33+ | --
2534
2635warning: where clauses are not enforced in type aliases
2736 --> $DIR/type-alias.rs:8:25
2837 |
2938LL | type _TaWhere4<T> where T: Iterator<Item: 'static + Copy + Send> = T;
3039 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3140 |
32- = help: the clause will not be checked when the type alias is used, and should be removed
41+ help: the clause will not be checked when the type alias is used, and should be removed
42+ |
43+ LL | type _TaWhere4<T> = T;
44+ | --
3345
3446warning: where clauses are not enforced in type aliases
3547 --> $DIR/type-alias.rs:9:25
3648 |
3749LL | type _TaWhere5<T> where T: Iterator<Item: for<'a> Into<&'a u8>> = T;
3850 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3951 |
40- = help: the clause will not be checked when the type alias is used, and should be removed
52+ help: the clause will not be checked when the type alias is used, and should be removed
53+ |
54+ LL | type _TaWhere5<T> = T;
55+ | --
4156
4257warning: where clauses are not enforced in type aliases
4358 --> $DIR/type-alias.rs:10:25
4459 |
4560LL | type _TaWhere6<T> where T: Iterator<Item: Iterator<Item: Copy>> = T;
4661 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4762 |
48- = help: the clause will not be checked when the type alias is used, and should be removed
63+ help: the clause will not be checked when the type alias is used, and should be removed
64+ |
65+ LL | type _TaWhere6<T> = T;
66+ | --
4967
5068warning: bounds on generic parameters are not enforced in type aliases
5169 --> $DIR/type-alias.rs:12:20
5270 |
5371LL | type _TaInline1<T: Iterator<Item: Copy>> = T;
5472 | ^^^^^^^^^^^^^^^^^^^^
5573 |
56- = help: the bound will not be checked when the type alias is used, and should be removed
74+ help: the bound will not be checked when the type alias is used, and should be removed
75+ |
76+ LL | type _TaInline1<T> = T;
77+ | --
5778
5879warning: bounds on generic parameters are not enforced in type aliases
5980 --> $DIR/type-alias.rs:13:20
6081 |
6182LL | type _TaInline2<T: Iterator<Item: 'static>> = T;
6283 | ^^^^^^^^^^^^^^^^^^^^^^^
6384 |
64- = help: the bound will not be checked when the type alias is used, and should be removed
85+ help: the bound will not be checked when the type alias is used, and should be removed
86+ |
87+ LL | type _TaInline2<T> = T;
88+ | --
6589
6690warning: bounds on generic parameters are not enforced in type aliases
6791 --> $DIR/type-alias.rs:14:20
6892 |
6993LL | type _TaInline3<T: Iterator<Item: 'static>> = T;
7094 | ^^^^^^^^^^^^^^^^^^^^^^^
7195 |
72- = help: the bound will not be checked when the type alias is used, and should be removed
96+ help: the bound will not be checked when the type alias is used, and should be removed
97+ |
98+ LL | type _TaInline3<T> = T;
99+ | --
73100
74101warning: bounds on generic parameters are not enforced in type aliases
75102 --> $DIR/type-alias.rs:15:20
76103 |
77104LL | type _TaInline4<T: Iterator<Item: 'static + Copy + Send>> = T;
78105 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79106 |
80- = help: the bound will not be checked when the type alias is used, and should be removed
107+ help: the bound will not be checked when the type alias is used, and should be removed
108+ |
109+ LL | type _TaInline4<T> = T;
110+ | --
81111
82112warning: bounds on generic parameters are not enforced in type aliases
83113 --> $DIR/type-alias.rs:16:20
84114 |
85115LL | type _TaInline5<T: Iterator<Item: for<'a> Into<&'a u8>>> = T;
86116 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
87117 |
88- = help: the bound will not be checked when the type alias is used, and should be removed
118+ help: the bound will not be checked when the type alias is used, and should be removed
119+ |
120+ LL | type _TaInline5<T> = T;
121+ | --
89122
90123warning: bounds on generic parameters are not enforced in type aliases
91124 --> $DIR/type-alias.rs:17:20
92125 |
93126LL | type _TaInline6<T: Iterator<Item: Iterator<Item: Copy>>> = T;
94127 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
95128 |
96- = help: the bound will not be checked when the type alias is used, and should be removed
129+ help: the bound will not be checked when the type alias is used, and should be removed
130+ |
131+ LL | type _TaInline6<T> = T;
132+ | --
97133
0 commit comments