summaryrefslogtreecommitdiffstats
path: root/src/test/ui/array-slice-vec/infer_array_len.stderr
blob: 919550cac3087df1ee0e968f8c56eeb6c78d4215 (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 [_, _]: _ = a.into();
   |               +++

error: aborting due to previous error

For more information about this error, try `rustc --explain E0282`.