rust/compiler/rustc_pattern_analysis/src
Matthias Krüger 853255e28d
Rollup merge of #128536 - Zalathar:print-cleanup, r=Nadrieril
Preliminary cleanup of `WitnessPat` hoisting/printing

Follow-up to #128430.

The eventual goal is to remove `print::Pat` entirely, but in the course of working towards that I made so many small improvements that it seems wise to let those be reviewed/merged on their own first.

Best reviewed commit-by-commit, most of which should be pretty simple and straightforward.

r? ``@Nadrieril``
2024-08-11 07:51:50 +02:00
..
rustc Use TyCtxt::is_diagnostic_item 2024-08-07 21:44:53 +10:00
constructor.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
errors.rs Encapsulate the printing of WitnessPat 2024-07-29 14:56:50 +10:00
lib.rs Rollup merge of #128536 - Zalathar:print-cleanup, r=Nadrieril 2024-08-11 07:51:50 +02:00
lints.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
pat_column.rs Rename TypeCx -> PatCx 2024-03-13 13:56:38 +01:00
pat.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
rustc.rs Rollup merge of #128536 - Zalathar:print-cleanup, r=Nadrieril 2024-08-11 07:51:50 +02:00
usefulness.rs Stabilize min_exhaustive_patterns 2024-08-10 12:07:17 +02:00