rust/tests/ui/issues/issue-23302-3.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
638 B
Plaintext
Raw Normal View History

error[E0391]: cycle detected when const-evaluating + checking `A`
--> $DIR/issue-23302-3.rs:1:16
|
2019-03-09 12:03:44 +00:00
LL | const A: i32 = B;
| ^
2018-03-05 09:21:11 +00:00
|
note: ...which requires const-evaluating + checking `B`...
--> $DIR/issue-23302-3.rs:3:16
|
LL | const B: i32 = A;
| ^
= note: ...which again requires const-evaluating + checking `A`, completing the cycle
note: cycle used when simplifying constant for the type system `A`
--> $DIR/issue-23302-3.rs:1:1
|
LL | const A: i32 = B;
2022-02-13 15:27:59 +00:00
| ^^^^^^^^^^^^
2019-04-05 11:22:13 +00:00
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0391`.