rustc/tests/ui/array-slice-vec/vector-no-ann.rs
2023-08-02 10:33:26 +02:00

5 lines
80 B
Rust

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