]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/assign-to-static-within-other-static.stderr
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
[rust.git] / src / test / ui / consts / const-eval / assign-to-static-within-other-static.stderr
1 error[E0080]: could not evaluate static initializer
2   --> $DIR/assign-to-static-within-other-static.rs:8:5
3    |
4 LL |     FOO = 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`.