| ^^^^^^^^^^^^^^^^^^^^^
|
note: ...which requires const-evaluating + checking `FOO`...
- --> $DIR/recursive-zst-static.rs:10:1
+ --> $DIR/recursive-zst-static.rs:10:18
|
LL | static FOO: () = FOO;
- | ^^^^^^^^^^^^^^^^^^^^^
+ | ^^^
= note: ...which again requires const-evaluating + checking `FOO`, completing the cycle
- = note: cycle used when running analysis passes on this crate
+note: cycle used when linting top-level module
+ --> $DIR/recursive-zst-static.rs:10:1
+ |
+LL | / static FOO: () = FOO;
+LL | |
+LL | | fn main() {
+LL | | FOO
+LL | | }
+ | |_^
error: aborting due to previous error