1 error[E0391]: cycle detected when const-evaluating `FOO`
2 --> $DIR/recursive-static-definition.rs:11:23
4 LL | pub static FOO: u32 = FOO;
7 = note: ...which again requires const-evaluating `FOO`, completing the cycle
8 note: cycle used when const-evaluating + checking `FOO`
9 --> $DIR/recursive-static-definition.rs:11:1
11 LL | pub static FOO: u32 = FOO;
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0391`.