]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/bounds-type.stderr
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / ui / parser / bounds-type.stderr
1 error: `?` may only modify trait bounds, not lifetime bounds
2   --> $DIR/bounds-type.rs:10:8
3    |
4 LL |     T: ?'a,
5    |        ^
6
7 error: `~const` may only modify trait bounds, not lifetime bounds
8   --> $DIR/bounds-type.rs:15:8
9    |
10 LL |     T: ~const 'a,
11    |        ^^^^^^
12
13 error: aborting due to 2 previous errors
14