6 lines
162 B
Rust
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
|