summary refs log tree commit diff
path: root/src/test/ui/parser/issue-68890-2.rs
blob: ae02246046880e48ddfd4c9ce46310f74fee1e92 (plain)
1
2
3
4
5
6
fn main() {}

type X<'a> = (?'a) +;
//~^ ERROR `?` may only modify trait bounds, not lifetime bounds
//~| ERROR at least one trait is required for an object type
//~| WARN trait objects without an explicit `dyn` are deprecated