rust/tests/ui/parser/issues/issue-68890-2.rs
2023-01-11 09:32:08 +00:00

6 lines
162 B
Rust

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