rust/src/test/ui/issue-36163.stderr

21 lines
617 B
Plaintext
Raw Normal View History

error[E0391]: unsupported cyclic reference between types/traits detected
--> $DIR/issue-36163.rs:14:9
|
14 | B = A, //~ ERROR E0391
| ^ cyclic reference
|
note: the cycle begins when const-evaluating `Foo::B::{{initializer}}`...
--> $DIR/issue-36163.rs:14:5
|
14 | B = A, //~ ERROR E0391
| ^^^^^
note: ...which then requires const-evaluating `A`...
--> $DIR/issue-36163.rs:14:9
|
14 | B = A, //~ ERROR E0391
| ^
= note: ...which then again requires const-evaluating `Foo::B::{{initializer}}`, completing the cycle.
error: aborting due to previous error