rust/tests/ui/array-slice-vec/infer_array_len.stderr
2023-01-11 09:32:08 +00:00

15 lines
366 B
Plaintext

error[E0282]: type annotations needed
--> $DIR/infer_array_len.rs:19:9
|
LL | let [_, _] = a.into();
| ^^^^^^
|
help: consider giving this pattern a type
|
LL | let [_, _]: /* Type */ = a.into();
| ++++++++++++
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.