]>
Commit | Line | Data |
---|---|---|
5869c6ff | 1 | error[E0764]: mutable references are not allowed in the final value of statics |
0731742a | 2 | --> $DIR/check-static-immutable-mut-slices.rs:3:37 |
b7449926 XL |
3 | | |
4 | LL | static TEST: &'static mut [isize] = &mut []; | |
5869c6ff | 5 | | ^^^^^^^ |
b7449926 XL |
6 | |
7 | error: aborting due to previous error | |
8 | ||
f035d41b | 9 | For more information about this error, try `rustc --explain E0764`. |