fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0391]: cycle detected when const-evaluating `FOO` 2 --> $DIR/recursive-static-definition.rs:1:23 3 | 4LL | pub static FOO: u32 = FOO; 5 | ^^^ 6 | 7note: ...which requires const-evaluating `FOO`... 8 --> $DIR/recursive-static-definition.rs:1:1 9 | 10LL | pub static FOO: u32 = FOO; 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 = note: ...which again requires const-evaluating `FOO`, completing the cycle 13note: cycle used when const-evaluating + checking `FOO` 14 --> $DIR/recursive-static-definition.rs:1:1 15 | 16LL | pub static FOO: u32 = FOO; 17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 18 19error: aborting due to previous error 20 21For more information about this error, try `rustc --explain E0391`.