]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/assign-to-static-within-other-static-2.stderr
296a6bf542163e9909116dd31fc662d4e5b40172
[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`.