]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-eval/assign-to-static-within-other-static-2.stderr
Bless mut tests
[rust.git] / src / test / ui / consts / const-eval / assign-to-static-within-other-static-2.stderr
index 14dcc074639e536d743efbda6f4bf63398f1c95e..296a6bf542163e9909116dd31fc662d4e5b40172 100644 (file)
@@ -1,11 +1,9 @@
-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`.