mirror of https://github.com/rust-lang/rust
21 lines
458 B
Plaintext
21 lines
458 B
Plaintext
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: `const` may only modify trait bounds, not lifetime bounds
|
|
--> $DIR/bounds-type.rs:16:8
|
|
|
|
|
LL | T: const 'a,
|
|
| ^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|