about summary refs log tree commit diff
path: root/compiler/rustc_borrowck
AgeCommit message (Expand)AuthorLines
2024-01-22Remove uses of HybridBitSet.Camille GILLOT-3/+3
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote-1/+1
2024-01-20Auto merge of #120003 - Mark-Simulacrum:opt-promoted, r=davidtwcobors-30/+87
2024-01-20Rollup merge of #120155 - compiler-errors:no-erased-when-promoting, r=aliemjayMatthias Krüger-5/+9
2024-01-20Don't use ReErased to detect type test promotion failedMichael Goulet-5/+9
2024-01-19perf: Don't track specific live points for promotedsMark Rousskov-30/+87
2024-01-19Rollup merge of #120126 - sjwang05:issue-102269, r=compiler-errorsMatthias Krüger-7/+90
2024-01-19Suggest .swap() instead of mem::swap() in more casessjwang05-7/+92
2024-01-17Rollup merge of #115291 - cjgillot:dest-prop-save, r=JakobDegenMatthias Krüger-114/+32
2024-01-17Auto merge of #120019 - lcnr:fn-wf, r=BoxyUwUbors-1/+34
2024-01-16Auto merge of #116520 - Enselic:large-copy-into-fn, r=oli-obkbors-12/+18
2024-01-16Rollup merge of #119969 - compiler-errors:simplify-closure-env-ty, r=oli-obkMatthias Krüger-1/+5
2024-01-16borrowck: use implied bounds from impl headerAli MJ Al-Nasrawy-1/+24
2024-01-16borrowck: wf-check fn item argsAli MJ Al-Nasrawy-0/+10
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-12/+18
2024-01-15Rollup merge of #119971 - compiler-errors:zip-eq, r=nnethercoteMatthias Krüger-3/+10
2024-01-15Rollup merge of #119897 - compiler-errors:fulfillment-errors, r=lcnrMatthias Krüger-2/+2
2024-01-14Use zip_eq to enforce that things being zipped have equal sizesMichael Goulet-3/+10
2024-01-14Simplify closure_env_ty and closure_env_paramMichael Goulet-1/+5
2024-01-13Make InferCtxtExt::could_impl_trait less messed upMichael Goulet-13/+18
2024-01-12Remove redundant Code from FulfillmentErrorCode variantsMichael Goulet-2/+2
2024-01-11Stop using `DiagnosticBuilder::buffer` in `BorrowckErrors`.Nicholas Nethercote-9/+10
2024-01-11Rollup merge of #118915 - compiler-errors:alias-nits, r=lcnrMatthias Krüger-2/+2
2024-01-10Simplify some redundant namesMichael Goulet-2/+2
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-19/+19
2024-01-10Add `DiagCtxt::delayed_bug`.Nicholas Nethercote-2/+2
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-27/+46
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-67/+49
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-2/+2
2024-01-07Move PointIndex to mir_dataflow.Camille GILLOT-114/+32
2024-01-05Rollup merge of #119563 - compiler-errors:coroutine-resume, r=oli-obkMatthias Krüger-26/+46
2024-01-05Remove `hir::Guard`Matthew Jasper-1/+1
2024-01-04Check yield terminator's resume type in borrowckMichael Goulet-26/+46
2023-12-30is_coroutine -> is_coroutine_or_closureMichael Goulet-3/+3
2023-12-28Movability doesn't need to be a query anymoreMichael Goulet-1/+1
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-26/+23
2023-12-28Fix some commentscuishuang-1/+1
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-102/+149
2023-12-25Flatten matchMichael Goulet-47/+67
2023-12-25Only regular coroutines have movabilityMichael Goulet-28/+28
2023-12-25Make closures carry their own ClosureKind, rather than deducing what it is fr...Michael Goulet-89/+116
2023-12-24Remove `MirBorrowckCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-22/+14
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-55/+58
2023-12-22Rollup merge of #119198 - compiler-errors:desugaring, r=eholkMichael Goulet-40/+55
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-109/+70
2023-12-22Split coroutine desugaring kind from sourceMichael Goulet-40/+55
2023-12-22Auto merge of #118824 - aliemjay:perf-region-cons, r=compiler-errorsbors-7/+12
2023-12-19Remove unnecessary param-env from lexical region resolution and fully structu...Michael Goulet-23/+6
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-2/+2
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-11/+11