1 error: redundant slicing of the whole range
2 --> $DIR/redundant_slicing.rs:6:15
5 | ^^^^^^ help: use the original slice instead: `x`
7 = note: `-D clippy::redundant-slicing` implied by `-D warnings`
9 error: redundant slicing of the whole range
10 --> $DIR/redundant_slicing.rs:10:15
12 LL | let err = &(&v[..])[..];
13 | ^^^^^^^^^^^^^ help: use the original slice instead: `(&v[..])`
15 error: aborting due to 2 previous errors