os-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
Text
Raw Normal View History

error[E0080]: could not evaluate static initializer
--> $DIR/recursive-static-definition.rs:1:23
2018-08-31 10:40:14 +02:00
|
LL | pub static FOO: u32 = FOO;
| ^^^ 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
|
LL | pub static BAR: Foo = BAR;
| ^^^ encountered static that tried to initialize itself with itself
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`.