]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/recursive-zst-static.unleash.stderr
Rollup merge of #98609 - TaKO8Ki:fix-ice-for-associated-constant-generics, r=lcnr
[rust.git] / src / test / ui / consts / recursive-zst-static.unleash.stderr
index 2a4ad5825ecfa7df9ea9b8e2a6616f93b24203a4..104899f490012ba433ae6d65b6997781347f3b1b 100644 (file)
@@ -10,7 +10,15 @@ note: ...which requires const-evaluating + checking `FOO`...
 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