rust/compiler/rustc_pattern_analysis/src
Matthias Krüger a1ecced532
Rollup merge of #120318 - Nadrieril:share-debug-impl, r=compiler-errors
pattern_analysis: Reuse most of the `DeconstructedPat` `Debug` impl

The `DeconstructedPat: Debug` is best-effort because we'd need `tcx` to get things like field names etc. Since rust-analyzer has a similar constraint, this PR moves most the impl to be shared between the two. While I was at it I also fixed a nit in the `IntRange: Debug` impl.

r? `@compiler-errors`
2024-01-25 08:39:45 +01:00
..
constructor.rs Improve Range: Debug impl 2024-01-24 20:09:30 +01:00
errors.rs s/RustcCtxt/RustcMatchCheckCtxt/ 2023-12-15 16:58:38 +01:00
lib.rs Rollup merge of #120318 - Nadrieril:share-debug-impl, r=compiler-errors 2024-01-25 08:39:45 +01:00
lints.rs Rename TyCtxt::emit_spanned_lint as TyCtxt::emit_node_span_lint. 2024-01-23 08:09:05 +11:00
pat.rs Rollup merge of #120318 - Nadrieril:share-debug-impl, r=compiler-errors 2024-01-25 08:39:45 +01:00
rustc.rs Rollup merge of #120318 - Nadrieril:share-debug-impl, r=compiler-errors 2024-01-25 08:39:45 +01:00
usefulness.rs Let ctor_sub_tys return any Iterator they want 2024-01-24 16:55:26 +01:00