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 10:19:14 +00:00
|
2019-03-09 12:03:44 +00:00
LL | FOO = 5;
2020-03-21 18:47:52 +00:00
| ^^^^^^^ modifying a static's initial value from another static's initializer
2018-11-19 10:19:14 +00:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0080`.