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