1 error[E0596]: cannot borrow immutable borrowed content `*x` as mutable
2 --> $DIR/slice-mut-2.rs:7:18
4 LL | let _ = &mut x[2..4]; //~ERROR cannot borrow immutable borrowed content `*x` as mutable
5 | ^ cannot borrow as mutable
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0596`.