rust/tests/ui/type/type-check/cannot_infer_local_or_vec.rs

5 lines
73 B
Rust

fn main() {
let x = vec![];
//~^ ERROR type annotations needed
}