about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/thir.rs
AgeCommit message (Expand)AuthorLines
2025-08-14Apply suggestions from code reviewRalf Jung-3/+3
2025-08-14shrink TestBranch::Constant and PatRangeBoundary::FiniteRalf Jung-6/+9
2025-08-14use ty::Value instead of manual pairs of types and valtreesRalf Jung-22/+15
2025-08-14pattern testing: store constants as valtreesRalf Jung-45/+28
2025-08-14PatKind: store constants as valtreesRalf Jung-3/+6
2025-07-28Raw Pointers are Constant PatKinds tooBoxy-0/+2
2025-07-01loop match: run exhaustiveness checkFolkert de Vries-3/+11
2025-06-30Introduce `ByteSymbol`.Nicholas Nethercote-1/+1
2025-06-23Add `#[loop_match]` for improved DFA codegenbjorn3-0/+13
2025-05-02Add useful comments on `ExprKind::If` variants.Nicholas Nethercote-0/+3
2025-04-24lower deref patterns on boxes using built-in derefsdianne-1/+6
2025-04-07Rollup merge of #139108 - Nadrieril:simplify-expandedconstant, r=oli-obkStuart Cook-14/+8
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-0/+3
2025-04-06Remove the `is_inline` field from `PatKind::ExpandedConstant`Nadrieril-14/+8
2025-04-03Tighten up assignment operator representations.Nicholas Nethercote-2/+2
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-0/+3
2025-03-21match lowering cleanup: `non_scalar_compare` is only for `&str`dianne-3/+3
2025-03-18Extract `for_each_immediate_subpat` from THIR pattern visitorsZalathar-21/+2
2025-03-16Split `visit_primary_bindings` into two variantsZalathar-0/+4
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-0/+8
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+8
2025-02-27Add note to Thir struct about necessity of Clone deriveNiels Saurer-0/+3
2025-02-27Revert "Derive `Clone` on fewer THIR types."Niels Saurer-22/+22
2025-02-23Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obkMatthias Krüger-2/+2
2025-02-22Fix binding mode problemsMichael Goulet-2/+1
2025-02-22Make a fake body to store typeck results for global_asmMichael Goulet-2/+2
2025-02-18Remove scrutinee_hir_id from ExprKind::Matchbjorn3-1/+0
2025-02-11Simplify intra-crate qualifiers.Nicholas Nethercote-9/+10
2025-02-06Rollup merge of #136435 - Zalathar:thir-pat-stuff, r=NadrierilMatthias Krüger-8/+9
2025-02-04Rollup merge of #136465 - nnethercote:rustc_middle-MORE, r=jieyouxuJacob Pratt-13/+3
2025-02-04Simplify `thir_with_elements` macro.Nicholas Nethercote-13/+3
2025-02-03Rollup merge of #136455 - nnethercote:less-Clone, r=compiler-errors许杰友 Jieyou Xu (Joe)-22/+22
2025-02-03Avoid double-boxing lists of THIR subpatternsZalathar-7/+7
2025-02-03Remove `'pat` lifetime from some match-lowering data structuresZalathar-1/+2
2025-02-03Derive `Clone` on fewer THIR types.Nicholas Nethercote-22/+22
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-0/+13
2024-12-09Introduce `default_field_values` featureEsteban Küber-2/+15
2024-11-20Auto merge of #133261 - matthiaskrgr:rollup-ekui4we, r=matthiaskrgrbors-6/+11
2024-11-20Rollup merge of #132708 - estebank:const-as-binding, r=NadrierilMatthias Krüger-6/+11
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-3/+14
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-12/+17
2024-11-17review comment: modify doc commentEsteban Küber-4/+2
2024-11-17review commentsEsteban Küber-2/+5
2024-11-17Unify expanded constants and named constants in `PatKind`Esteban Küber-10/+12
2024-11-17Fold `PatKind::NamedConstant` into `PatKind::Constant`Esteban Küber-7/+2
2024-11-17Point at `const` definition when used instead of a binding in a `let` statementEsteban Küber-2/+9
2024-11-03compiler: Directly use rustc_abi in metadata and middleJubilee Young-2/+2
2024-10-06various fixes for `naked_asm!` implementationFolkert de Vries-1/+2
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-0/+2
2024-09-24use more accurate spans for user type ascriptionsLukas Markeffsky-1/+3