2025-05-28 10:29:08 +00:00
|
|
|
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;
|
2025-06-07 11:32:09 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^ evaluation of `BAR` failed here
|
2018-11-24 14:38:31 +01:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-09-12 12:27:28 +08:00
|
|
|
|
2021-10-05 04:55:57 -04:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|