rust/src/test/ui/parser/issue-22712.rs
2019-08-24 21:53:55 +02:00

9 lines
146 B
Rust

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