1 error[E0764]: mutable references are not allowed in statics
2 --> $DIR/check-static-immutable-mut-slices.rs:3:37
4 LL | static TEST: &'static mut [isize] = &mut [];
5 | ^^^^^^^ `&mut` is only allowed in `const fn`
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0764`.