rust/tests/ui/consts/const-eval/assign-to-static-within-other-static.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
324 B
Plaintext
Raw Normal View History

error[E0080]: could not evaluate static initializer
--> $DIR/assign-to-static-within-other-static.rs:8:5
2018-11-19 04:19:14 -06:00
|
2019-03-09 06:03:44 -06:00
LL | FOO = 5;
2020-03-21 13:47:52 -05:00
| ^^^^^^^ modifying a static's initial value from another static's initializer
2018-11-19 04:19:14 -06:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0080`.