X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fconsts%2Frecursive-zst-static.unleash.stderr;h=104899f490012ba433ae6d65b6997781347f3b1b;hb=a1b06388ce42ab7dd8aad1aebf87fa5299e2e08a;hp=2a4ad5825ecfa7df9ea9b8e2a6616f93b24203a4;hpb=15fc228d0d0a68b5ba565758fab13ed7f863fcea;p=rust.git diff --git a/src/test/ui/consts/recursive-zst-static.unleash.stderr b/src/test/ui/consts/recursive-zst-static.unleash.stderr index 2a4ad5825ec..104899f4900 100644 --- a/src/test/ui/consts/recursive-zst-static.unleash.stderr +++ b/src/test/ui/consts/recursive-zst-static.unleash.stderr @@ -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