about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/pattern/check_match.rs
AgeCommit message (Expand)AuthorLines
2025-09-25usize/isize range matching error clarificationhelldawg-4/+4
2025-07-28use let chains in hir, lint, mirKivooeo-7/+5
2025-07-13Generalize TyCtxt::item_name.Camille GILLOT-1/+1
2025-07-04only check for mixed deref/normal constructors when neededdianne-0/+1
2025-07-01loop match: run exhaustiveness checkFolkert de Vries-1/+7
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-03Overhaul `UsePath`.Nicholas Nethercote-20/+15
2025-04-06Remove the `is_inline` field from `PatKind::ExpandedConstant`Nadrieril-2/+3
2025-04-03Make LevelAndSource a structOli Scherer-1/+1
2025-04-02Move methods from `Map` to `TyCtxt`, part 5.Nicholas Nethercote-1/+1
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-3/+3
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-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
2025-02-22Fix binding mode problemsMichael Goulet-2/+2
2025-02-21Move methods from Map to TyCtxt, part 3.Nicholas Nethercote-2/+2
2025-02-18Remove scrutinee_hir_id from ExprKind::Matchbjorn3-1/+1
2025-02-17Rollup merge of #136671 - nnethercote:middle-limits, r=NadrierilMatthias Krüger-14/+6
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-1/+1
2025-02-17Add `pattern_complexity_limit` to `Limits`.Nicholas Nethercote-14/+6
2025-02-03Remove some non-trivial `box` patternsZalathar-11/+9
2025-02-02Rollup merge of #136328 - estebank:long-ty-path, r=jieyouxu,lqdMatthias Krüger-4/+4
2025-01-31Rework "long type names" printing logicEsteban Küber-4/+4
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-3/+4
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-3/+3
2025-01-24Use short ty string for move errorsEsteban Küber-0/+4
2025-01-21add fixme in typoed const pattern lintRémy Rakic-0/+6
2025-01-09Always force non-trimming of path in `unreachable_patterns` lintEsteban Küber-8/+1
2024-12-02remove `Ty::is_copy_modulo_regions`lcnr-1/+1
2024-11-23 thir building: use typing_env directlylcnr-24/+11
2024-11-22Rollup merge of #132658 - estebank:const-in-pattern-typo, r=NadrierilMichael Goulet-1/+163
2024-11-20Rollup merge of #132708 - estebank:const-as-binding, r=NadrierilMatthias Krüger-8/+48
2024-11-20Detect const in pattern with typoEsteban Küber-1/+163
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-1/+11
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-3/+3
2024-11-17review commentsEsteban Küber-1/+8
2024-11-17review commentsEsteban Küber-4/+0
2024-11-17Unify expanded constants and named constants in `PatKind`Esteban Küber-3/+5
2024-11-17Point at const when intended binding fall-through pattern is a constEsteban Küber-4/+25
2024-11-17Use `item_name` instead of a span snippet when talking about const patternEsteban Küber-3/+2
2024-11-17Fold `PatKind::NamedConstant` into `PatKind::Constant`Esteban Küber-2/+3
2024-11-17Point at `const` definition when used instead of a binding in a `let` statementEsteban Küber-2/+16
2024-10-30Rollup merge of #129394 - Jarcho:irrefutable_let_patterns, r=NadrierilMatthias Krüger-7/+18
2024-10-29Don't lint `irrefutable_let_patterns` on leading patterns if `else if` let-ch...Jason Newcomb-7/+18
2024-10-23nightly feature tracking: get rid of the per-feature bool fieldsRalf Jung-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-13Add a machine-applicable suggestion to "unreachable pattern"Nadrieril-5/+30
2024-08-21Rollup merge of #129344 - compiler-errors:less-option-unit-diagnostics, r=jie...Matthias Krüger-1/+1