@@ -11,7 +11,7 @@ note: required by an implicit `Sized` bound in `Trait`
11
11
--> $DIR/unsized-bound.rs:1:13
12
12
|
13
13
LL | trait Trait<A> {}
14
- | ^ required by the implicit `Sized` requirement on this bound in `Trait`
14
+ | ^ required by the implicit `Sized` requirement on this type parameter in `Trait`
15
15
help: consider removing the `?Sized` bound to make the type parameter `Sized`
16
16
|
17
17
LL - impl<A, B> Trait<(A, B)> for (A, B) where A: ?Sized, B: ?Sized, {}
@@ -50,7 +50,7 @@ note: required by an implicit `Sized` bound in `Trait`
50
50
--> $DIR/unsized-bound.rs:1:13
51
51
|
52
52
LL | trait Trait<A> {}
53
- | ^ required by the implicit `Sized` requirement on this bound in `Trait`
53
+ | ^ required by the implicit `Sized` requirement on this type parameter in `Trait`
54
54
help: consider removing the `?Sized` bound to make the type parameter `Sized`
55
55
|
56
56
LL - impl<A, B: ?Sized, C: ?Sized> Trait<(A, B, C)> for (A, B, C) where A: ?Sized, {}
@@ -100,7 +100,7 @@ note: required by an implicit `Sized` bound in `Trait2`
100
100
--> $DIR/unsized-bound.rs:9:14
101
101
|
102
102
LL | trait Trait2<A> {}
103
- | ^ required by the implicit `Sized` requirement on this bound in `Trait2`
103
+ | ^ required by the implicit `Sized` requirement on this type parameter in `Trait2`
104
104
help: consider removing the `?Sized` bound to make the type parameter `Sized`
105
105
|
106
106
LL - impl<A: ?Sized, B: ?Sized> Trait2<(A, B)> for (A, B) {}
@@ -138,7 +138,7 @@ note: required by an implicit `Sized` bound in `Trait3`
138
138
--> $DIR/unsized-bound.rs:13:14
139
139
|
140
140
LL | trait Trait3<A> {}
141
- | ^ required by the implicit `Sized` requirement on this bound in `Trait3`
141
+ | ^ required by the implicit `Sized` requirement on this type parameter in `Trait3`
142
142
help: consider removing the `?Sized` bound to make the type parameter `Sized`
143
143
|
144
144
LL - impl<A> Trait3<A> for A where A: ?Sized {}
@@ -161,7 +161,7 @@ note: required by an implicit `Sized` bound in `Trait4`
161
161
--> $DIR/unsized-bound.rs:16:14
162
162
|
163
163
LL | trait Trait4<A> {}
164
- | ^ required by the implicit `Sized` requirement on this bound in `Trait4`
164
+ | ^ required by the implicit `Sized` requirement on this type parameter in `Trait4`
165
165
help: consider removing the `?Sized` bound to make the type parameter `Sized`
166
166
|
167
167
LL - impl<A: ?Sized> Trait4<A> for A {}
@@ -184,7 +184,7 @@ note: required by an implicit `Sized` bound in `Trait5`
184
184
--> $DIR/unsized-bound.rs:19:14
185
185
|
186
186
LL | trait Trait5<A, B> {}
187
- | ^ required by the implicit `Sized` requirement on this bound in `Trait5`
187
+ | ^ required by the implicit `Sized` requirement on this type parameter in `Trait5`
188
188
help: consider removing the `?Sized` bound to make the type parameter `Sized`
189
189
|
190
190
LL - impl<X, Y> Trait5<X, Y> for X where X: ?Sized {}
@@ -207,7 +207,7 @@ note: required by an implicit `Sized` bound in `Trait6`
207
207
--> $DIR/unsized-bound.rs:22:14
208
208
|
209
209
LL | trait Trait6<A, B> {}
210
- | ^ required by the implicit `Sized` requirement on this bound in `Trait6`
210
+ | ^ required by the implicit `Sized` requirement on this type parameter in `Trait6`
211
211
help: consider removing the `?Sized` bound to make the type parameter `Sized`
212
212
|
213
213
LL - impl<X: ?Sized, Y> Trait6<X, Y> for X {}
@@ -230,7 +230,7 @@ note: required by an implicit `Sized` bound in `Trait7`
230
230
--> $DIR/unsized-bound.rs:25:17
231
231
|
232
232
LL | trait Trait7<A, B> {}
233
- | ^ required by the implicit `Sized` requirement on this bound in `Trait7`
233
+ | ^ required by the implicit `Sized` requirement on this type parameter in `Trait7`
234
234
help: consider removing the `?Sized` bound to make the type parameter `Sized`
235
235
|
236
236
LL - impl<X, Y> Trait7<X, Y> for X where Y: ?Sized {}
@@ -253,7 +253,7 @@ note: required by an implicit `Sized` bound in `Trait8`
253
253
--> $DIR/unsized-bound.rs:28:17
254
254
|
255
255
LL | trait Trait8<A, B> {}
256
- | ^ required by the implicit `Sized` requirement on this bound in `Trait8`
256
+ | ^ required by the implicit `Sized` requirement on this type parameter in `Trait8`
257
257
help: consider removing the `?Sized` bound to make the type parameter `Sized`
258
258
|
259
259
LL - impl<X, Y: ?Sized> Trait8<X, Y> for X {}
0 commit comments