rust/tests/ui/array-slice-vec/vector-no-ann.rs

5 lines
80 B
Rust

fn main() {
let _foo = Vec::new();
//~^ ERROR type annotations needed
}