2021-08-19 22:28:32 -04:00
|
|
|
error[E0391]: cycle detected when computing layout of `std::option::Option<S>`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2021-08-19 22:28:32 -04:00
|
|
|
= note: ...which requires computing layout of `S`...
|
|
|
|
|
= note: ...which again requires computing layout of `std::option::Option<S>`, completing the cycle
|
2020-05-31 16:11:51 +01:00
|
|
|
note: cycle used when optimizing MIR for `main`
|
|
|
|
|
--> $DIR/issue-26548-recursion-via-normalize.rs:15:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fn main() {
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0391`.
|