Files
rust/tests/ui/consts/const-eval/mod-static-with-const-fn.stderr

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

10 lines
327 B
Plaintext
Raw Normal View History

error[E0080]: modifying a static's initial value from another static's initializer
2024-08-17 14:19:34 +02:00
--> $DIR/mod-static-with-const-fn.rs:14:5
2018-11-24 14:38:31 +01:00
|
LL | *FOO.0.get() = 5;
| ^^^^^^^^^^^^^^^^ evaluation of `BAR` failed here
2018-11-24 14:38:31 +01:00
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0080`.