2023-10-12 11:27:43 +00:00
|
|
|
error[E0080]: could not evaluate static initializer
|
2022-06-04 19:48:16 +00:00
|
|
|
--> $DIR/recursive-static-definition.rs:1:23
|
2018-08-31 08:40:14 +00: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 17:48:44 +00: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 12:28:26 +00:00
|
|
|
|
2023-10-12 11:27:43 +00:00
|
|
|
error: aborting due to 2 previous errors
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2023-10-12 11:27:43 +00:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|