1 error[E0529]: expected an array or slice, found `Vec<{integer}>`
2 --> $DIR/let-else-slicing-error.rs:6:9
4 LL | let [x, y] = nums else {
5 | ^^^^^^ ---- help: consider slicing here: `nums[..]`
7 | pattern cannot match with input type `Vec<{integer}>`
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0529`.