summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-22712.rs
blob: 774de9c7e64485165e695fbc6c8f69813d7ef552 (plain)
1
2
3
4
5
6
7
8
9
struct Foo<B> {
    buffer: B
}

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

fn main() {}