blob: a1089fd7bfc53c592cc25048d99e552ed18aa1f0 [file] [log] [blame] [edit]
// 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.
fn hello() -> impl Sized + use<'a {}> {}
//~^ ERROR expected one of `,` or `>`, found `{`
fn main() {}