blob: dee332ec634483bcab9c28329e6baef1d84b5e03 [file]
error[E0391]: cycle detected when computing layout of `core::option::Option<S>`
--> $SRC_DIR/core/src/option.rs:LL:COL
|
note: ...which requires computing layout of `S`...
--> $DIR/issue-26548-recursion-via-normalize.rs:13:1
|
LL | struct S(Option<<S as Mirror>::It>);
| ^^^^^^^^
note: ...which requires computing layout of `core::option::Option<<S as Mirror>::It>`...
--> $SRC_DIR/core/src/option.rs:LL:COL
= note: ...which again requires computing layout of `core::option::Option<S>`, completing the cycle
= note: cycle used when computing layout of `core::option::Option<<S as Mirror>::It>`
= note: for more information, see <https://rustc-dev-guide.rust-lang.org/overview.html#queries> and <https://rustc-dev-guide.rust-lang.org/query.html>
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0391`.