2023-10-12 11:27:43 +00:00
|
|
|
error[E0080]: could not evaluate static initializer
|
2022-06-04 15:48:16 -04:00
|
|
|
--> $DIR/recursive-static-definition.rs:1:23
|
2018-08-31 10:40:14 +02:00
|
|
|
|
|
|
|
|
LL | pub static FOO: u32 = FOO;
|
2023-10-12 11:27:43 +00:00
|
|
|
| ^^^ encountered static that tried to initialize itself with itself
|
|
|
|
|
|
|
|
error[E0080]: could not evaluate static initializer
|
|
|
|
--> $DIR/recursive-static-definition.rs:9:23
|
2022-06-18 19:48:44 +02:00
|
|
|
|
|
2023-10-12 11:27:43 +00:00
|
|
|
LL | pub static BAR: Foo = BAR;
|
|
|
|
| ^^^ encountered static that tried to initialize itself with itself
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-10-12 11:27:43 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-10-12 11:27:43 +00:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|