]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/unmatched-langle-1.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / parser / unmatched-langle-1.rs
CommitLineData
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
4fn 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}