about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-1/+3
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-16Auto merge of #116520 - Enselic:large-copy-into-fn, r=oli-obkbors-6/+11
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-6/+11
2024-01-15Rollup merge of #119897 - compiler-errors:fulfillment-errors, r=lcnrMatthias Krüger-2/+2
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-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-6/+6
2024-01-10Add `DiagCtxt::delayed_bug`.Nicholas Nethercote-2/+2
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-3/+9
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-26/+20
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2024-01-05Remove `hir::Guard`Matthew Jasper-1/+1
2023-12-30is_coroutine -> is_coroutine_or_closureMichael Goulet-2/+2
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-4/+3
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-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-21/+19
2023-12-22Rollup merge of #119198 - compiler-errors:desugaring, r=eholkMichael Goulet-40/+55
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-66/+36
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-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-2/+2
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-7/+7
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-1/+1
2023-12-17fix diagnostic regresssionAli MJ Al-Nasrawy-7/+12
2023-12-15banish hir::GenericBound::LangItemTraitMichael Goulet-20/+10
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-47/+48
2023-12-11remove some redundant clonesMatthias Krüger-1/+1
2023-12-08Implement `async gen` blocksMichael Goulet-4/+30
2023-12-04Provide more suggestions for cloning immutable bindingsEsteban Küber-1/+101
2023-12-04Deduplicate some logicEsteban Küber-110/+51
2023-12-04Tweak output on specific caseEsteban Küber-1/+21
2023-12-04Suggest cloning and point out obligation errors on move errorEsteban Küber-48/+124
2023-12-04Tweak `.clone()` suggestion to work in more casesEsteban Küber-3/+17
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-5/+5
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-4/+4
2023-11-28Fix a typo in a `format_args!` noteJosh Stone-1/+1
2023-11-26Auto merge of #118316 - Mark-Simulacrum:delete-copy-to-upvars, r=cjgillotbors-14/+12
2023-11-26Remove Upvar duplicationMark Rousskov-14/+12
2023-11-26Rollup merge of #118311 - bvanjoi:merge_coroutinue_into_closure, r=petrochenkovGuillaume Gomez-1/+8
2023-11-26merge `DefKind::Coroutine` into `DefKind::Closure`bohan-1/+8
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-7/+7