rust/compiler/rustc_macros
Matthias Krüger 5459333ffc
Rollup merge of #117241 - compiler-errors:auto-trait-leak-cycle, r=oli-obk
Stash and cancel cycle errors for auto trait leakage in opaques

We don't need to emit a traditional cycle error when we have a selection error that explains what's going on but in more detail.

We may want to augment this error to actually point out the cycle, now that the cycle error is not being emitted. We could do that by storing the set of opaques that was in the `CyclePlaceholder` that gets returned from `type_of_opaque`.

r? `@oli-obk` cc `@estebank` #117235
2023-10-27 11:48:06 +02:00
..
src Rollup merge of #117241 - compiler-errors:auto-trait-leak-cycle, r=oli-obk 2023-10-27 11:48:06 +02:00
Cargo.toml Use v0.0.0 in compiler crates 2023-10-18 21:55:15 +00:00