]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/unmatched-langle-1.rs
Auto merge of #86599 - Amanieu:asm_raw, r=nagisa
[rust.git] / src / test / ui / parser / unmatched-langle-1.rs
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 }