15 lines
366 B
Plaintext
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`.
|