summaryrefslogtreecommitdiffstats
path: root/tests/ui/array-slice-vec/infer_array_len.stderr
blob: c2a509a196344b910131329e9e49d6de0971d92b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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`.