about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/pattern
AgeCommit message (Expand)AuthorLines
2025-09-25usize/isize range matching error clarificationhelldawg-4/+4
2025-09-09erase_regions to erase_and_anonymize_regionsBoxy-3/+5
2025-08-14shrink TestBranch::Constant and PatRangeBoundary::FiniteRalf Jung-2/+3
2025-08-14use ty::Value instead of manual pairs of types and valtreesRalf Jung-7/+7
2025-08-14pattern testing: store constants as valtreesRalf Jung-10/+4
2025-08-14PatKind: store constants as valtreesRalf Jung-15/+14
2025-07-31remove rustc_attr_data_structuresJana Dönszelmann-1/+2
2025-07-28use let chains in hir, lint, mirKivooeo-7/+5
2025-07-14Auto merge of #143779 - JonathanBrouwer:automatically_derived_parser, r=oli-obkbors-2/+4
2025-07-13Generalize TyCtxt::item_name.Camille GILLOT-1/+1
2025-07-12Port `#[automatically_derived]` to the new attribute parsing infrastructureJonathan Brouwer-2/+4
2025-07-04only check for mixed deref/normal constructors when neededdianne-0/+1
2025-07-04treat box patterns as deref patterns in THIR and usefulness analysisdianne-3/+4
2025-07-03Rollup merge of #134006 - klensy:typos, r=nnethercoteJana Dönszelmann-2/+2
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-2/+2
2025-07-01loop match: run exhaustiveness checkFolkert de Vries-1/+7
2025-06-30Introduce `ByteSymbol`.Nicholas Nethercote-1/+1
2025-06-25Rollup merge of #142724 - xizheyin:avoid_overwrite_args, r=oli-obkJana Dönszelmann-2/+5
2025-06-25Add runtime check to avoid overwrite arg easily in diag and store and restore...xizheyin-2/+5
2025-06-23Add `#[loop_match]` for improved DFA codegenbjorn3-1/+6
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-3/+4
2025-06-03Overhaul `UsePath`.Nicholas Nethercote-20/+15
2025-05-27Rename unpack to kindMichael Goulet-1/+1
2025-05-23Dont walk into unsafe binders when emiting error for non-structural type matchMichael Goulet-0/+3
2025-05-04Auto merge of #140549 - BoxyUwU:proper_const_norm, r=lcnrbors-0/+2
2025-05-01Set groundwork for proper const normalizationBoxy-0/+2
2025-05-01User type annotations for free consts in pattern positionBoxy-2/+1
2025-04-24lower deref patterns on boxes using built-in derefsdianne-7/+4
2025-04-22make `str` literal patterns usable in deref patternsdianne-0/+10
2025-04-16lower implicit deref patterns to THIRdianne-18/+24
2025-04-12store the kind of pattern adjustments in `pat_adjustments`dianne-8/+9
2025-04-07Rollup merge of #139108 - Nadrieril:simplify-expandedconstant, r=oli-obkStuart Cook-75/+82
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-0/+2
2025-04-06Reuse `parent_args`Nadrieril-12/+3
2025-04-06Add the inline const type annotation in pattern loweringNadrieril-2/+34
2025-04-06Tweak `lower_pat_expr`Nadrieril-35/+33
2025-04-06Remove the `is_inline` field from `PatKind::ExpandedConstant`Nadrieril-26/+15
2025-04-06Let `const_to_pat` handle the `ExpandedConstant` wrappingNadrieril-15/+12
2025-04-03Make LevelAndSource a structOli Scherer-1/+1
2025-04-02Auto merge of #139269 - matthiaskrgr:rollup-pk78gig, r=matthiaskrgrbors-34/+35
2025-04-02Move methods from `Map` to `TyCtxt`, part 5.Nicholas Nethercote-1/+1
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-0/+2
2025-03-26add a temporary workaround for `string_deref_patterns`dianne-2/+21
2025-03-26`lower_pat_expr`: use the pattern's type instead of the literal'sdianne-33/+15
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-3/+3
2025-03-12Rollup merge of #137504 - nnethercote:remove-Map-4, r=ZalatharManish Goregaokar-1/+1
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-1/+1
2025-03-09Explain weird quirk in user type annotation loweringMichael Goulet-1/+1
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+1
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-5/+1