rust/tests/ui/type/type-check/cannot_infer_local_or_vec_i...

5 lines
81 B
Rust

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