]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-68890-2.rs
Rollup merge of #91630 - GuillaumeGomez:missing-whitespace, r=notriddle
[rust.git] / src / test / ui / parser / issues / issue-68890-2.rs
1 fn main() {}
2
3 type X<'a> = (?'a) +;
4 //~^ ERROR `?` may only modify trait bounds, not lifetime bounds
5 //~| ERROR at least one trait is required for an object type
6 //~| WARN trait objects without an explicit `dyn` are deprecated
7 //~| WARN this is accepted in the current edition