]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-68890-2.rs
Merge commit '43a1777b89cf6791f9e20878b4e5e3ae907867a5' into clippyup
[rust.git] / src / test / ui / parser / 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