summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/rustc.rs
AgeCommit message (Expand)AuthorLines
2024-09-28remove couple redundant clonesMatthias Krüger-1/+1
2024-09-23Rollup merge of #130715 - compiler-errors:mir-build-const-eval, r=BoxyUwUMatthias Krüger-4/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+5
2024-09-22Replace calls to Const::eval in mir buildMichael Goulet-4/+7
2024-09-02Non-exhaustive structs may be emptyNadrieril-7/+1
2024-08-15Rollup merge of #128965 - Zalathar:no-pat, r=NadrierilJubilee-38/+45
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-1/+1
2024-08-11Remove `print::Pat` entirely, replacing it with `String`Zalathar-42/+28
2024-08-11Remove `PatKind::Never`Zalathar-1/+1
2024-08-11Remove `PatKind::Slice`Zalathar-3/+5
2024-08-11Remove `PatKind::Range`Zalathar-1/+1
2024-08-11Remove `PatKind::Constant`Zalathar-3/+3
2024-08-11Remove `PatKind::Ref`Zalathar-1/+5
2024-08-11Remove `PatKind::Box`Zalathar-1/+1
2024-08-11Remove `PatKind::StructLike`Zalathar-1/+10
2024-08-11Remove `PatKind::Wild`Zalathar-2/+4
2024-08-11Avoid matching on `PatKind::Wild` in `write_struct_like`Zalathar-1/+5
2024-08-11Rollup merge of #128536 - Zalathar:print-cleanup, r=NadrierilMatthias Krüger-64/+68
2024-08-10Stabilize `min_exhaustive_patterns`Nadrieril-6/+1
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-1/+1
2024-08-07Simplify hoisting of ref patterns (`&` and `&mut`)Zalathar-6/+1
2024-08-07Simplify hoisting of array/slice patternsZalathar-30/+43
2024-08-07Simplify hoisting of struct-like patternsZalathar-23/+16
2024-08-07Split out hoisting/printing of `box` patternsZalathar-6/+5
2024-08-07Split out a `hoist` helper in `hoist_witness_pat`Zalathar-1/+2
2024-08-07Replace an unnecessary slice pattern with `has_dot_dot: bool`Zalathar-3/+2
2024-08-07Unify `Variant` and `Leaf` into `print::PatKind::StructLike`Zalathar-7/+11
2024-07-31Use a separate pattern type for `rustc_pattern_analysis` diagnosticsZalathar-11/+15
2024-07-31Print `thir::PatRange`, not its surrounding `thir::Pat`Zalathar-8/+7
2024-07-29Rollup merge of #128304 - Zalathar:thir-pat-display, r=NadrierilMatthias Krüger-8/+16
2024-07-29Encapsulate the printing of `WitnessPat`Zalathar-3/+11
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-07-28Don't store `thir::Pat` in error structsZalathar-5/+5
2024-07-24Explain why a given pattern is considered unreachableNadrieril-0/+2
2024-07-24Move rustc-specific entrypoint to the `rustc` moduleNadrieril-0/+26
2024-07-21Tweak `collect_non_exhaustive_tys`Nadrieril-1/+7
2024-07-18pattern lowering: make sure we never call user-defined PartialEq instancesRalf Jung-4/+14
2024-06-23Replace `f16` and `f128` pattern matching stubs with real implementationsTrevor Gross-7/+43
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-4/+5
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-1/+1
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-08Actually create ranged int types in the type system.Oli Scherer-0/+1
2024-03-31Improve debugging experienceNadrieril-2/+0
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-1/+1
2024-03-21Rollup merge of #122644 - Nadrieril:complexity-tests, r=compiler-errorsMatthias Krüger-3/+4
2024-03-20Add barest-bones deref patternsNadrieril-0/+6
2024-03-19Improve the `WitnessPat: Debug` implNadrieril-3/+4
2024-03-18Rollup merge of #121823 - Nadrieril:never-witnesses, r=compiler-errorsMatthias Krüger-3/+4
2024-03-13Rollup merge of #122437 - Nadrieril:no-after-max, r=compiler-errorsMatthias Krüger-1/+1
2024-03-13Remove `MaybeInfiniteInt::JustAfterMax`Nadrieril-1/+1