]> git.proxmox.com Git - rustc.git/blame - src/test/ui/recursion/recursive-static-definition.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / recursion / recursive-static-definition.stderr
CommitLineData
1b1a35ee 1error[E0391]: cycle detected when const-evaluating + checking `FOO`
f035d41b 2 --> $DIR/recursive-static-definition.rs:1:1
b7449926
XL
3 |
4LL | pub static FOO: u32 = FOO;
f035d41b 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
b7449926 6 |
1b1a35ee 7note: ...which requires const-evaluating + checking `FOO`...
0731742a 8 --> $DIR/recursive-static-definition.rs:1:1
a1dfa0c6
XL
9 |
10LL | pub static FOO: u32 = FOO;
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
1b1a35ee
XL
12 = note: ...which again requires const-evaluating + checking `FOO`, completing the cycle
13 = note: cycle used when running analysis passes on this crate
b7449926
XL
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0391`.