granite-rust/compiler/rustc_pattern_analysis
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
..
src Rollup merge of #120318 - Nadrieril:share-debug-impl, r=compiler-errors 2024-01-25 08:39:45 +01:00
Cargo.toml Don't rely on contiguous VariantIds outside of rustc 2024-01-17 03:09:06 +01:00
messages.ftl Extract exhaustiveness into its own crate 2023-12-11 11:20:55 +01:00