]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/recursive-zst-static.default.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / consts / recursive-zst-static.default.stderr
index 03f8f5c5a0e5da7e5c6e37538fbf02d3b707e045..104899f490012ba433ae6d65b6997781347f3b1b 100644 (file)
@@ -5,12 +5,20 @@ LL | static FOO: () = FOO;
    | ^^^^^^^^^^^^^^^^^^^^^
    |
 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