]> git.lizzy.rs Git - rust.git/blob - tests/ui/array-slice-vec/infer_array_len.stderr
Merge commit '1480cea393d0cee195e59949eabdfbcf1230f7f9' into clippyup
[rust.git] / tests / ui / array-slice-vec / infer_array_len.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/infer_array_len.rs:19:9
3    |
4 LL |     let [_, _] = a.into();
5    |         ^^^^^^
6    |
7 help: consider giving this pattern a type
8    |
9 LL |     let [_, _]: /* Type */ = a.into();
10    |               ++++++++++++
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0282`.