blob: 005bc1e54bd00421358c18ea1f832e595df62041 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: `?` may only modify trait bounds, not lifetime bounds
--> $DIR/bounds-type.rs:10:8
|
LL | T: ?'a,
| ^
error: `~const` may only modify trait bounds, not lifetime bounds
--> $DIR/bounds-type.rs:15:8
|
LL | T: ~const 'a,
| ^^^^^^
error: aborting due to 2 previous errors
|