Files
rust/tests/ui/recursion/recursive-static-definition.stderr

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

16 lines
572 B
Plaintext
Raw Permalink Normal View History

error[E0080]: encountered static that tried to access itself during initialization
--> $DIR/recursive-static-definition.rs:1:23
2018-08-31 10:40:14 +02:00
|
LL | pub static FOO: u32 = FOO;
| ^^^ evaluation of `FOO` failed here
error[E0080]: encountered static that tried to access itself during initialization
--> $DIR/recursive-static-definition.rs:9:23
2022-06-18 19:48:44 +02:00
|
LL | pub static BAR: Foo = BAR;
| ^^^ evaluation of `BAR` failed here
2018-08-08 14:28:26 +02:00
error: aborting due to 2 previous errors
2018-08-08 14:28:26 +02:00
For more information about this error, try `rustc --explain E0080`.