rust/src/test/ui/parser/issue-68890-2.rs

4 lines
135 B
Rust
Raw Normal View History

2020-03-07 05:14:39 -06:00
type X = (?'a) +;
//~^ ERROR `?` may only modify trait bounds, not lifetime bounds
//~| ERROR expected trait bound, not lifetime bound