summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/pattern
AgeCommit message (Expand)AuthorLines
2022-10-27Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle-6/+6
2022-10-23Comment why normalization is needed for debug assertionsMichael Goulet-1/+6
2022-10-22Introduce InhabitedPredicateCameron Steffen-4/+6
2022-10-14Rollup merge of #103031 - est31:match_guard_irrefutable_let, r=oli-obkDylan DPC-5/+13
2022-10-14more dupe word typosRageking8-1/+1
2022-10-14Suppress irrefutable let patterns lint for prefixes in match guardsest31-5/+13
2022-10-08Show let-else suggestion on stable.Eric Huss-1/+1
2022-10-07Change InferCtxtBuilder from enter to buildCameron Steffen-4/+3
2022-10-07Remove TypeckResults from InferCtxtCameron Steffen-7/+5
2022-10-01Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebankbors-63/+75
2022-10-01Refactor rustc lint APIMaybe Waffle-63/+75
2022-09-29Shrink `hir::def::Res`.Nicholas Nethercote-1/+2
2022-09-27rustc_typeck to rustc_hir_analysislcnr-2/+2
2022-09-20Rollup merge of #102021 - lcnr:tyConst-fun, r=b-naber,BoxyUwUMichael Howell-1/+1
2022-09-20Auto merge of #99806 - oli-obk:unconstrained_opaque_type, r=estebankbors-1/+10
2022-09-19ctfe, `const_to_op` only for mir constantslcnr-1/+1
2022-09-17Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplettDylan DPC-2/+2
2022-09-17Auto merge of #98588 - b-naber:valtrees-cleanup, r=lcnrbors-15/+11
2022-09-16Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r...Oli Scherer-1/+9
2022-09-16Merge two arguments into oneOli Scherer-0/+1
2022-09-15Remove feature gate from let else suggestionest31-2/+2
2022-09-13Shrink some visibilities.Camille GILLOT-12/+12
2022-09-13use ty::Unevaluated<'tcx, ()> in type systemb-naber-15/+11
2022-09-08Auto merge of #101467 - nnethercote:shrink-hir-Ty-Pat, r=spastorinobors-1/+1
2022-09-08Rollup merge of #101399 - cjgillot:borrowck-binding-span, r=estebankDylan DPC-1/+6
2022-09-08Introduce `DotDotPos`.Nicholas Nethercote-1/+1
2022-09-06Shrink span for bindings with subpatterns.Camille GILLOT-1/+6
2022-09-03Include enum path in variant suggestionMichael Goulet-1/+1
2022-09-02Use boxed slices in `PatKind`.Nicholas Nethercote-9/+20
2022-09-02Box `CanonicalUserTypeAnnotation::CanonicalUserType`.Nicholas Nethercote-2/+2
2022-09-02Box `PatKind::Range`.Nicholas Nethercote-6/+14
2022-09-02Clean up THIR patterns.Nicholas Nethercote-51/+56
2022-09-01tracing::instrument cleanupOli Scherer-8/+4
2022-08-22Rollup merge of #98200 - ouz-a:issue-98177, r=oli-obkDylan DPC-4/+19
2022-08-10Rollup merge of #100240 - cjgillot:noice-structural-match, r=davidtwcoMatthias Krüger-1/+6
2022-08-09suggest adding an appropriate missing pattern excluding commentsTakayuki Maeda-14/+14
2022-08-07Fail gracefully when const pattern is not structural match.Camille GILLOT-1/+6
2022-08-04Rollup merge of #100093 - wcampbell0x2a:unused-parens-for-match-arms, r=petro...Matthias Krüger-1/+1
2022-08-04Enable unused_parens for match armswcampbell-1/+1
2022-08-04Auto merge of #99843 - oli-obk:is_useful_perf, r=compiler-errorsbors-46/+43
2022-07-29Rename local_did to def_idMiguel Guarniz-1/+1
2022-07-29Change maybe_body_owned_by to take local def idMiguel Guarniz-1/+1
2022-07-28Pass PatCtxt instead of passing MatchCtxt + Ty separatelyOli Scherer-25/+22
2022-07-28Don't pass (the rather large) `PatCtxt` by valueOli Scherer-17/+17
2022-07-28Move constructor into the branch that actually uses itOli Scherer-5/+5
2022-07-27Rollup merge of #99651 - compiler-errors:fn-and-raw-ptr-in-const-generics, r=...Guillaume Gomez-31/+29
2022-07-25avoid `&str`/`Symbol` to `String` conversionsTakayuki Maeda-1/+1
2022-07-25Remove non-descriptive boolean from search_for_structural_match_violationMichael Goulet-31/+29
2022-07-25Get rid of redundant NonStructuralMatchTyKindMichael Goulet-17/+11
2022-07-25Deeply deny fn and raw ptrs in const genericsMichael Goulet-1/+7