]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-68890-2.rs
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[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