rust/tests/ui/parser/issues/issue-68890-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
414 B
Plaintext
Raw Normal View History

2020-03-07 05:14:39 -06:00
error: `?` may only modify trait bounds, not lifetime bounds
--> $DIR/issue-68890-2.rs:3:15
2020-03-07 05:14:39 -06:00
|
LL | type X<'a> = (?'a) +;
| ^
2020-03-07 05:14:39 -06:00
error[E0224]: at least one trait is required for an object type
--> $DIR/issue-68890-2.rs:3:14
|
LL | type X<'a> = (?'a) +;
| ^^^^^^^
2020-03-07 05:14:39 -06:00
2021-07-10 03:00:54 -05:00
error: aborting due to 2 previous errors
2020-03-07 05:14:39 -06:00
2020-03-21 10:43:12 -05:00
For more information about this error, try `rustc --explain E0224`.