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