blob: 8da6d97251ba183b83153bb497a4fd308c82bcb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0282]: type annotations needed
--> $DIR/infer_array_len.rs:19:9
|
LL | let [_, _] = a.into();
| ^^^^^^
|
= note: type must be known at this point
help: consider giving this pattern a type
|
LL | let [_, _]: _ = a.into();
| +++
error: aborting due to previous error
For more information about this error, try `rustc --explain E0282`.
|