]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/assign-to-static-within-other-static-2.stderr
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[rust.git] / src / test / ui / consts / const-eval / assign-to-static-within-other-static-2.stderr
1 error[E0080]: could not evaluate static initializer
2   --> $DIR/assign-to-static-within-other-static-2.rs:16:5
3    |
4 LL |     *FOO.0.get() = 5;
5    |     ^^^^^^^^^^^^^^^^ modifying a static's initial value from another static's initializer
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0080`.