| 1 |
error: this relaxed bound is not permitted here |
| 2 |
--> tests/ui/maybe.rs:34:11 |
| 3 |
| |
| 4 |
34 | Self: ?Sized, |
| 5 |
| ^^^^^^ |
| 6 |
| |
| 7 |
= note: in this context, relaxed bounds are only allowed on type parameters defined on the closest item |
| 8 |
|
| 9 |
error: this relaxed bound is not permitted here |
| 10 |
--> tests/ui/maybe.rs:45:11 |
| 11 |
| |
| 12 |
45 | Self: ?Sized, |
| 13 |
| ^^^^^^ |
| 14 |
| |
| 15 |
= note: in this context, relaxed bounds are only allowed on type parameters defined on the closest item |
| 16 |
|
| 17 |
error: this relaxed bound is not permitted here |
| 18 |
--> tests/ui/maybe.rs:75:12 |
| 19 |
| |
| 20 |
75 | T: ?Sized, |
| 21 |
| ^^^^^^ |
| 22 |
| |
| 23 |
= note: in this context, relaxed bounds are only allowed on type parameters defined on the closest item |
| 24 |
|
| 25 |
error: this relaxed bound is not permitted here |
| 26 |
--> tests/ui/maybe.rs:24:11 |
| 27 |
| |
| 28 |
24 | Self: ?Sized, |
| 29 |
| ^^^^^^ |
| 30 |
| |
| 31 |
= note: in this context, relaxed bounds are only allowed on type parameters defined on the closest item |