rust/src/test/ui/array-slice-vec/vector-no-ann.rs
2020-12-31 08:01:58 +09:00

4 lines
80 B
Rust

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