]>
Commit | Line | Data |
---|---|---|
7453a54e SL |
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: | |
29967ef6 | 3 | // expected one of ..., `>`, ... found `>`. |
d9579d0f | 4 | |
a2a8927a | 5 | fn foo() -> Vec<usize>> { //~ ERROR expected one of `!`, `+`, `::`, `where`, or `{`, found `>` |
7453a54e | 6 | Vec::new() |
223e47cc | 7 | } |
29967ef6 XL |
8 | |
9 | fn main() {} |