1 error: redundant slicing of the whole range
2 --> $DIR/redundant_slicing.rs:8:13
4 LL | let _ = &slice[..]; // Redundant slice
5 | ^^^^^^^^^^ help: use the original value instead: `slice`
7 = note: `-D clippy::redundant-slicing` implied by `-D warnings`
8 = help: to override `-D warnings` add `#[allow(clippy::redundant_slicing)]`
10 error: redundant slicing of the whole range
11 --> $DIR/redundant_slicing.rs:12:13
13 LL | let _ = &(&*v)[..]; // Outer borrow is redundant
14 | ^^^^^^^^^^ help: use the original value instead: `(&*v)`
16 error: redundant slicing of the whole range
17 --> $DIR/redundant_slicing.rs:29:13
19 LL | let _ = &m!(slice)[..];
20 | ^^^^^^^^^^^^^^ help: use the original value instead: `slice`
22 error: aborting due to 3 previous errors