rust/tests/ui/parser/recover/turbofish-arg-with-stray-colon.rs

7 lines
146 B
Rust

fn foo() {
let x = Tr<A, A:>;
//~^ ERROR expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
}
fn main() {}