about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/rustc
AgeCommit message (Expand)AuthorLines
2024-08-07Use `TyCtxt::is_diagnostic_item`Zalathar-2/+2
2024-08-07Avoid using `ty::tls::with` in `write_struct_like`Zalathar-5/+6
2024-08-07Split out hoisting/printing of `box` patternsZalathar-1/+5
2024-08-07Replace an unnecessary slice pattern with `has_dot_dot: bool`Zalathar-11/+8
2024-08-07Remove an impossible case under `EnumInfo::NotEnum`Zalathar-7/+1
2024-08-07Unify `Variant` and `Leaf` into `print::PatKind::StructLike`Zalathar-13/+14
2024-08-07Break up `print::Pat` printing into several helper functionsZalathar-113/+142
2024-07-31Use a separate pattern type for `rustc_pattern_analysis` diagnosticsZalathar-0/+193