]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-68890-2.stderr
Rollup merge of #107608 - P1n3appl3:master, r=tmandry
[rust.git] / tests / ui / parser / issues / issue-68890-2.stderr
1 error: `?` may only modify trait bounds, not lifetime bounds
2   --> $DIR/issue-68890-2.rs:3:15
3    |
4 LL | type X<'a> = (?'a) +;
5    |               ^
6
7 error[E0224]: at least one trait is required for an object type
8   --> $DIR/issue-68890-2.rs:3:14
9    |
10 LL | type X<'a> = (?'a) +;
11    |              ^^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0224`.