summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/pattern
AgeCommit message (Expand)AuthorLines
2023-01-17tidyWaffle Maybe-16/+15
2023-01-17Don't call closures immediately, use `try{}` blocksMaybe Waffle-19/+15
2023-01-14suggest fix for attempted integer identifier in patternsEzra Shaw-4/+16
2023-01-11Rollup merge of #106097 - mejrs:mir_build2, r=oli-obkMichael Goulet-318/+135
2023-01-11Translate `Overlap` eagerlymejrs-6/+3
2023-01-11Some cleanup, oopsmejrs-5/+0
2023-01-11Don't recommend `if let` if `let else` worksmejrs-16/+7
2023-01-11Migrate pattern matchingmejrs-178/+88
2023-01-11Migrate usefulness.rsmejrs-4/+21
2023-01-11Migrate deconstruct_pat.rsmejrs-21/+14
2023-01-11Translate const_to_pat.rsmejrs-138/+52
2023-01-11Detect out of bounds range pattern valueEsteban Küber-6/+62
2023-01-04rename get_parent_node to parent_idMichael Goulet-6/+6
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-3/+3
2022-12-17Try to fix ICEmejrs-1/+5
2022-12-17Resolve various merge conflictsmejrs-15/+12
2022-12-17Migrate multiple mut borrows diagnosticTheOddGarlic-7/+7
2022-12-17Migrate borrow of moved value diagnosticTheOddGarlic-17/+7
2022-12-17Migrate irrefutable let pattern diagnosticsTheOddGarlic-57/+13
2022-12-17Migrate pattern bindings with variant name lintTheOddGarlic-22/+10
2022-12-17Migrate leading/trailing irrefutable let pattern diagnosticsTheOddGarlic-25/+10
2022-12-17Migrate lower range bound diagnosticsTheOddGarlic-24/+5
2022-12-17Migrate "could not evaluate const pattern" diagnosticTheOddGarlic-3/+3
2022-12-17Migrate "constant pattern depends on generic parameter" diagnosticTheOddGarlic-3/+4
2022-12-17Migrate unreachable pattern diagnosticTheOddGarlic-8/+6
2022-12-17Migrate pattern inlining error diagnosticsTheOddGarlic-13/+5
2022-12-17Migrate "non-exhaustive patterns: type is non-empty" diagnosticTheOddGarlic-7/+12
2022-12-13Combine projection and opaque into aliasMichael Goulet-2/+2
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+1
2022-12-04drive-by: move field_index to typeck resultsMichael Goulet-1/+1
2022-11-24Rollup merge of #103908 - estebank:consider-cloning, r=compiler-errorsMatthias Krüger-4/+12
2022-11-24Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiserbors-2/+2
2022-11-23Account for `x @ y` and suggest `ref x @ ref y`Esteban Küber-4/+12
2022-11-22Auto merge of #103578 - petrochenkov:nofict, r=nagisabors-1/+1
2022-11-21Stop passing the self-type as a separate argument.Oli Scherer-2/+1
2022-11-21Fix an ICE that I just made worseOli Scherer-9/+1
2022-11-21Use iterators instead of slices at more sitesOli Scherer-1/+1
2022-11-21Assert that various types have the right amount of generic args and fix the s...Oli Scherer-1/+9
2022-11-21Unreserve braced enum variants in value namespaceVadim Petrochenkov-1/+1
2022-11-20Change to Ty::is_inhabited_fromCameron Steffen-2/+2
2022-11-18review feedbackRalf Jung-7/+1
2022-11-18interpret: use Either over Result when it is not representing an error conditionRalf Jung-13/+15
2022-11-17Auto merge of #104170 - cjgillot:hir-def-id, r=fee1-deadbors-2/+1
2022-11-16Use `as_deref` in compiler (but only where it makes sense)Maybe Waffle-2/+2
2022-11-13Store a LocalDefId in hir::AnonConst.Camille GILLOT-2/+1
2022-11-11Don't ICE with inline const errors during MIR buildMichael Goulet-0/+3
2022-11-10Use const_error_with_guaranteed moreMichael Goulet-1/+1
2022-11-01Rollup merge of #103749 - est31:reduce_irrefutable_let_else_span, r=cjgillotYuki Okushi-10/+8
2022-10-30Reduce span of let else irrefutable_let_patterns warningest31-10/+8
2022-10-30Rollup merge of #103726 - TaKO8Ki:avoid-&str-to-string-conversions, r=compile...Matthias Krüger-1/+1