mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
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
|