]>
Commit | Line | Data |
---|---|---|
dc9dc135 | 1 | warning: skipping const checks |
60c5eb7d | 2 | --> $DIR/mutable_references.rs:28:8 |
e74abb32 XL |
3 | | |
4 | LL | x: &UnsafeCell::new(42), | |
5 | | ^^^^^^^^^^^^^^^^^^^^ | |
6 | ||
dc9dc135 | 7 | error[E0594]: cannot assign to `*OH_YES`, as `OH_YES` is an immutable static item |
60c5eb7d | 8 | --> $DIR/mutable_references.rs:39:5 |
dc9dc135 XL |
9 | | |
10 | LL | *OH_YES = 99; | |
11 | | ^^^^^^^^^^^^ cannot assign | |
12 | ||
13 | error: aborting due to previous error | |
14 | ||
60c5eb7d | 15 | For more information about this error, try `rustc --explain E0594`. |