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