fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0391]: cycle detected when const-evaluating + checking `FOO` 2 --> $DIR/recursive-zst-static.rs:10:1 3 | 4LL | static FOO: () = FOO; 5 | ^^^^^^^^^^^^^^ 6 | 7note: ...which requires const-evaluating + checking `FOO`... 8 --> $DIR/recursive-zst-static.rs:10:18 9 | 10LL | static FOO: () = FOO; 11 | ^^^ 12 = note: ...which again requires const-evaluating + checking `FOO`, completing the cycle 13note: cycle used when linting top-level module 14 --> $DIR/recursive-zst-static.rs:10:1 15 | 16LL | / static FOO: () = FOO; 17LL | | 18LL | | fn main() { 19LL | | FOO 20LL | | } 21 | |_^ 22 = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information 23 24error: aborting due to previous error 25 26For more information about this error, try `rustc --explain E0391`.