rust/tests/ui/consts/miri_unleashed/mutating_global.stderr

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

10 lines
318 B
Plaintext
Raw Normal View History

error[E0080]: could not evaluate static initializer
2022-09-21 06:05:20 -05:00
--> $DIR/mutating_global.rs:9:9
2020-03-21 13:47:52 -05:00
|
LL | GLOBAL = 99
| ^^^^^^^^^^^ modifying a static's initial value from another static's initializer
2020-03-21 13:47:52 -05:00
error: aborting due to previous error
2020-03-21 13:47:52 -05:00
For more information about this error, try `rustc --explain E0080`.