about summary refs log tree commit diff
path: root/tests/ui/recursion/recursive-static-definition.stderr
blob: 86a22c990e9f6264ba1f584261d1e85fd60c13ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0080]: could not evaluate static initializer
  --> $DIR/recursive-static-definition.rs:1:23
   |
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
   |
LL | pub static BAR: Foo = BAR;
   |                       ^^^ encountered static that tried to initialize itself with itself

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0080`.