rust/compiler/rustc_macros/src
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
..
diagnostics Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
symbols Fix symbols::tests::test_symbols 2023-10-26 02:02:22 -07:00
hash_stable.rs migrate rustc_macros to syn 2.0 2023-04-06 04:55:58 +00:00
lib.rs Support environment variable for interned Symbol value 2023-10-26 01:57:11 -07:00
lift.rs Lift: take self by value 2020-10-21 23:59:35 +02:00
newtype.rs Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
query.rs Stash and cancel cycle errors for auto trait leakage in opaques 2023-10-26 17:58:02 +00:00
serialize.rs Make enum decoding errors more informative. 2023-08-18 16:50:41 +10:00
symbols.rs Fix symbols::tests::test_symbols 2023-10-26 02:02:22 -07:00
type_foldable.rs migrate rustc_macros to syn 2.0 2023-04-06 04:55:58 +00:00
type_visitable.rs migrate rustc_macros to syn 2.0 2023-04-06 04:55:58 +00:00