summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
2025-02-10try to suggest eliding redundant binding modifiersdianne-27/+31
2025-02-10peace of mind: remove a call to `Option::expect`dianne-2/+3
2025-02-10separate labels for default binding mode spans into their own notesdianne-10/+0
2025-02-10experimentally label the spans for default binding modesdianne-35/+88
2025-02-10highlight the whole problem subpattern when pointing out the default binding ...dianne-2/+2
2025-02-10reword pattern migration diagnostic to make sense in all editionsdianne-8/+16
2025-02-10pattern migration: move labels out of the suggestion structdianne-13/+11
2025-01-23Always force non-trimming of path in `unreachable_patterns` lintEsteban Küber-8/+1
2024-12-19Rename Scope.id to Scope.local_id, remove trivial accessorMichael Goulet-9/+15
2024-12-17Add the edition guide link from the match 2024 migration lint to the error as...dianne-0/+4
2024-12-17Clarify the match ergonomics 2024 migration lint's outputdianne-7/+18
2024-12-17Rollup merge of #134400 - spastorino:fix-some-comments, r=compiler-errorsJacob Pratt-1/+1
2024-12-17Rename `rustc_mir_build::build` to `builder`Zalathar-1/+1
2024-12-16Adjust upvar.rs file pathSantiago Pastorino-1/+1
2024-12-16Rollup merge of #134197 - Enselic:mirror, r=lcnrMatthias Krüger-0/+8
2024-12-14Split UserTypeAnnotation to have a kindMichael Goulet-4/+5
2024-12-13rustc_mir_build: Clarify that 'mirrored' does not mean 'flipped' or 'reversed'Martin Nordholts-0/+8
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-0/+5
2024-12-09Introduce `default_field_values` featureEsteban Küber-17/+53
2024-12-07Auto merge of #133978 - matthiaskrgr:rollup-6gh1iho, r=matthiaskrgrbors-1/+5
2024-12-07Auto merge of #133897 - oli-obk:push-lsxrqtqqwmpt, r=jieyouxubors-24/+0
2024-12-06Silence follow-up errors from `lit_to_const`Oli Scherer-1/+5
2024-12-05Avoid looking at HIR for inline const pattern literalsOli Scherer-24/+0
2024-12-04review comments: reword messages and simplify logicEsteban Küber-42/+22
2024-12-04Add more context to fall-through "const pattern of non-structural type" errorEsteban Küber-41/+157
2024-12-04Add context to fall-through "const pattern of non-structural type" errorEsteban Küber-2/+3
2024-12-04Add additional context for non-sructural type constant used in patternEsteban Küber-4/+19
2024-12-04Specify type kind of constant that can't be used in patternsEsteban Küber-5/+10
2024-12-04Tweak output of some const pattern errorsEsteban Küber-4/+10
2024-12-04Point at generic param through which a const is used in a patternEsteban Küber-1/+21
2024-12-04Tweak unevaluated constant in pattern errorEsteban Küber-1/+10
2024-12-04On `const` pattern errors, point at the `const` item definitionEsteban Küber-33/+70
2024-12-02remove `Ty::is_copy_modulo_regions`lcnr-1/+1
2024-11-23remove remaining references to `Reveal`lcnr-4/+4
2024-11-23no more Reveal :(lcnr-1/+1
2024-11-23 thir building: use typing_env directlylcnr-41/+18
2024-11-22Rollup merge of #132658 - estebank:const-in-pattern-typo, r=NadrierilMichael Goulet-1/+163
2024-11-20Auto merge of #133261 - matthiaskrgr:rollup-ekui4we, r=matthiaskrgrbors-23/+82
2024-11-20Rollup merge of #132708 - estebank:const-as-binding, r=NadrierilMatthias Krüger-23/+82
2024-11-20Detect const in pattern with typoEsteban Küber-1/+163
2024-11-20reduce false positives of tail-expr-drop-order from consumed valuesDing Xiang Fei-22/+47
2024-11-19pattern lowering, yeet `TypingEnv::from_param_env`lcnr-63/+38
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-4/+14
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-16/+31
2024-11-17review commentsEsteban Küber-21/+26
2024-11-17review commentsEsteban Küber-4/+0
2024-11-17Unify expanded constants and named constants in `PatKind`Esteban Küber-23/+38
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-13/+14