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