summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
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-31Rollup merge of #99186 - camsteffen:closure-localdefid, r=cjgillotDylan DPC-0/+1
2022-07-30Use LocalDefId for closures moreCameron Steffen-0/+1
2022-07-29Rename local_did to def_idMiguel Guarniz-1/+1
2022-07-29Change maybe_body_owned_by to take local def idMiguel Guarniz-2/+2
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
2022-07-20Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"Oli Scherer-40/+30
2022-07-15Infer wildcard type from other patterns at every pattern levelOli Scherer-26/+31
2022-07-15Move constructor into the branch that actually uses itOli Scherer-5/+5
2022-07-15Revert a hack that only ever worked on level deepOli Scherer-5/+1
2022-07-15Allow destructuring opaque types, since the patterns constrain the opaque typesOli Scherer-1/+5
2022-07-15Add some tracing instrumentationOli Scherer-0/+5
2022-07-11add tests for async awaitDing Xiang Fei-2/+2
2022-07-11move else block into the `Local` structDing Xiang Fei-7/+8
2022-07-11lower let-else in MIR insteadDing Xiang Fei-12/+19
2022-07-11Rollup merge of #99140 - TaKO8Ki:implement-is-accessible-span, r=fee1-deadDylan DPC-1/+1
2022-07-11rename a methodTakayuki Maeda-1/+1
2022-07-11implement `is_accessible_span`Takayuki Maeda-1/+1
2022-07-11Deny floats even when adt_const_params is enabledMichael Goulet-26/+31
2022-07-09review feedbackRalf Jung-2/+2
2022-07-05Auto merge of #98925 - Dylan-DPC:rollup-9185c9y, r=Dylan-DPCbors-1/+1
2022-07-05Rollup merge of #98624 - davidtwco:translation-on-lints, r=compiler-errorsDylan DPC-1/+1
2022-07-05Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJungbors-2/+3
2022-07-05Prefer trace level instrumentation for the new noisy instrument attributesOli Scherer-2/+2
2022-07-02Rollup merge of #98639 - camsteffen:no-node-binding, r=compiler-errorsDylan DPC-1/+1
2022-07-01Factor out hir::Node::BindingCameron Steffen-1/+1
2022-07-01Auto merge of #98402 - cjgillot:undead, r=michaelwoeristerbors-22/+1
2022-06-30middle: translation in `LintDiagnosticBuilder`David Wood-1/+1
2022-06-29avoid many `&str` to `String` conversions with `MultiSpan::push_span_label`Takayuki Maeda-1/+1
2022-06-29Some tracing cleanupsOli Scherer-2/+3
2022-06-25Rollup merge of #98429 - b-naber:use-correct-substs-discriminant-cast, r=lcnrMatthias Krüger-92/+94
2022-06-24fmtb-naber-8/+6
2022-06-24address reviewb-naber-14/+14
2022-06-24small refactorb-naber-95/+96
2022-06-24use correct substs in enum discriminant hackb-naber-1/+4
2022-06-23Remove dead code.Camille GILLOT-22/+1
2022-06-19Be more hygenic with spansMichael Goulet-6/+7
2022-06-19Use `Span::eq_ctxt` method instead of `.ctxt() == .ctxt()`Michael Goulet-4/+4
2022-06-19Only omit trailing comma if block doesn't come from macro expansionMichael Goulet-3/+14
2022-06-16compare_const_vals: add a special case for certain ranges.Nicholas Nethercote-4/+19
2022-06-16compare_const_vals: Use infallible evaluation.Nicholas Nethercote-27/+23