]>
Commit | Line | Data |
---|---|---|
17df50a5 XL |
1 | // Check that a suggestion is issued if there are too many `<`s in a |
2 | // generic argument list, and that the parser recovers properly. | |
3 | ||
4 | fn main() { | |
5 | foo::<<<<Ty<i32>>(); | |
6 | //~^ ERROR: unmatched angle brackets | |
7 | //~| ERROR: cannot find function `foo` in this scope [E0425] | |
8 | //~| ERROR: cannot find type `Ty` in this scope [E0412] | |
9 | } |