2024-04-19 12:12:12 -05:00
|
|
|
// We used to fatal error without any useful diagnostic when we had an unexpected
|
|
|
|
// token due to a strange interaction between the sequence parsing code and the
|
|
|
|
// param/lifetime parsing code.
|
|
|
|
|
2024-06-05 15:18:52 -05:00
|
|
|
fn hello() -> impl Sized + use<'a {}> {}
|
2024-04-19 12:12:12 -05:00
|
|
|
//~^ ERROR expected one of `,` or `>`, found `{`
|
|
|
|
|
|
|
|
fn main() {}
|