rust/tests/ui/parser/issues/issue-68890-2.stderr
2023-01-11 09:32:08 +00:00

16 lines
414 B
Plaintext

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