1 // Verify that '>' is not both expected and found at the same time, as it used
2 // to happen in #24780. For example, following should be an error:
3 // expected one of ..., `>`, ... found `>`.
5 fn foo() -> Vec<usize>> { //~ ERROR expected one of `!`, `+`, `::`, `where`, or `{`, found `>`