summaryrefslogtreecommitdiffstats
path: root/tests/ui/array-slice-vec/vector-no-ann.rs
blob: 1f11d9c8dffc7e044eecf357059b4b7b77c8a744 (plain)
1
2
3
4
fn main() {
    let _foo = Vec::new();
    //~^ ERROR type annotations needed
}