]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/unmatched-langle-2.rs
1 // When there are too many opening `<`s, the compiler would previously
2 // suggest nonsense if the `<`s were interspersed with other tokens:
4 // error: unmatched angle brackets
5 // --> unmatched-langle.rs:2:10
7 // 2 | foo::<Ty<<<i32>();
8 // | ^^^ help: remove extra angle brackets
10 // This test makes sure that this is no longer happening.
14 //~^ ERROR: expected `::`, found `(`