2024-10-08 16:46:00 -04:00
|
|
|
error[E0391]: cycle detected when computing layout of `Wrapper<()>`
|
|
|
|
|
|
|
|
|
= note: ...which requires computing layout of `<() as Trait>::Assoc`...
|
|
|
|
= note: ...which again requires computing layout of `Wrapper<()>`, completing the cycle
|
|
|
|
= note: cycle used when computing layout of `core::option::Option<Wrapper<()>>`
|
|
|
|
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
|
|
|
|
|
2024-07-13 19:35:05 +02:00
|
|
|
note: the above error was encountered while instantiating `fn abi::<()>`
|
|
|
|
--> $DIR/post-mono-layout-cycle.rs:19:5
|
2024-10-08 16:46:00 -04:00
|
|
|
|
|
2024-07-13 19:35:05 +02:00
|
|
|
LL | abi::<T>(None);
|
|
|
|
| ^^^^^^^^^^^^^^
|
2024-10-08 16:46:00 -04:00
|
|
|
|
2024-07-13 19:35:05 +02:00
|
|
|
error: aborting due to 1 previous error
|
2024-10-08 16:46:00 -04:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0391`.
|