rust/tests/ui/parser/issues/issue-68890-2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
162 B
Rust
Raw Normal View History

fn main() {}
type X<'a> = (?'a) +;
2020-03-07 05:14:39 -06:00
//~^ ERROR `?` may only modify trait bounds, not lifetime bounds
//~| ERROR at least one trait is required for an object type