rust/tests/ui/parser/issues/issue-22712.rs
2023-01-11 09:32:08 +00:00

10 lines
146 B
Rust

struct Foo<B> {
buffer: B
}
fn bar() {
let Foo<Vec<u8>> //~ ERROR expected one of `:`, `;`, `=`, `@`, or `|`, found `<`
}
fn main() {}