]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/assign-to-static-within-other-static.stderr
Stabilize File::options()
[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:10: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`.