1 error: `?` may only modify trait bounds, not lifetime bounds
2 --> $DIR/issue-68890-2.rs:3:15
4 LL | type X<'a> = (?'a) +;
7 warning: trait objects without an explicit `dyn` are deprecated
8 --> $DIR/issue-68890-2.rs:3:14
10 LL | type X<'a> = (?'a) +;
11 | ^^^^^^^ help: use `dyn`: `dyn (?'a) +`
13 = note: `#[warn(bare_trait_objects)]` on by default
15 error[E0224]: at least one trait is required for an object type
16 --> $DIR/issue-68890-2.rs:3:14
18 LL | type X<'a> = (?'a) +;
21 error: aborting due to 2 previous errors; 1 warning emitted
23 For more information about this error, try `rustc --explain E0224`.