-error[E0019]: static contains unimplemented expression type
+error[E0080]: could not evaluate static initializer
--> $DIR/assign-to-static-within-other-static-2.rs:16:5
|
LL | *FOO.0.get() = 5;
- | ^^^^^^^^^^^^^^^^
- |
- = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
+ | ^^^^^^^^^^^^^^^^ modifying a static's initial value from another static's initializer
error: aborting due to previous error
-For more information about this error, try `rustc --explain E0019`.
+For more information about this error, try `rustc --explain E0080`.