]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/recursive-zst-static.default.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / consts / recursive-zst-static.default.stderr
1 error[E0391]: cycle detected when const-evaluating `FOO`
2 --> $DIR/recursive-zst-static.rs:10:1
3 |
4 LL | static FOO: () = FOO;
5 | ^^^^^^^^^^^^^^^^^^^^^
6 |
7 note: ...which requires const-evaluating `FOO`...
8 --> $DIR/recursive-zst-static.rs:10:1
9 |
10 LL | static FOO: () = FOO;
11 | ^^^^^^^^^^^^^^^^^^^^^
12 = note: ...which again requires const-evaluating `FOO`, completing the cycle
13 note: cycle used when const-evaluating + checking `FOO`
14 --> $DIR/recursive-zst-static.rs:10:1
15 |
16 LL | static FOO: () = FOO;
17 | ^^^^^^^^^^^^^^^^^^^^^
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0391`.