summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-68890-2.rs
blob: 29c12352146b54568aeac81d6a121978f2fa294a (plain)
1
2
3
4
5
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