]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/issue-68890-2.rs
New upstream version 1.44.1+dfsg1
[rustc.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