summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics/mod.rs
AgeCommit message (Expand)AuthorLines
2024-01-16Auto merge of #116520 - Enselic:large-copy-into-fn, r=oli-obkbors-3/+4
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-3/+4
2024-01-15Rollup merge of #119897 - compiler-errors:fulfillment-errors, r=lcnrMatthias Krüger-1/+1
2024-01-13Make InferCtxtExt::could_impl_trait less messed upMichael Goulet-3/+5
2024-01-12Remove redundant Code from FulfillmentErrorCode variantsMichael Goulet-1/+1
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-4/+3
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-25/+35
2023-12-25Only regular coroutines have movabilityMichael Goulet-3/+3
2023-12-25Make closures carry their own ClosureKind, rather than deducing what it is fr...Michael Goulet-25/+35
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-3/+3
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-2/+2
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-3/+3
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-1/+1
2023-12-11remove some redundant clonesMatthias Krüger-1/+1
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-3/+3
2023-11-26Auto merge of #118316 - Mark-Simulacrum:delete-copy-to-upvars, r=cjgillotbors-3/+3
2023-11-26Remove Upvar duplicationMark Rousskov-3/+3
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-11-13continue renaminglcnr-2/+2
2023-11-13rename `ReLateBound` to `ReBound`lcnr-2/+2
2023-11-08rename `BorrowKind::Shallow` to `Fake`lcnr-1/+1
2023-10-24Auto merge of #116300 - cjgillot:split-move, r=petrochenkovbors-0/+1
2023-10-21Stop computing error info in move path builder.Camille GILLOT-1/+1
2023-10-21Do not report errors from move path builder.Camille GILLOT-0/+1
2023-10-21Make `ty::print::Printer` take `&mut self` instead of `self`Nilstrieb-2/+4
2023-10-20s/generator/coroutine/Oli Scherer-24/+24
2023-10-20s/Generator/Coroutine/Oli Scherer-13/+13
2023-10-13Format all the let chains in compilerMichael Goulet-8/+5
2023-10-02Add docs, remove code, change subtyper codeouz-a-2/+3
2023-10-02subtyping_projectionsouz-a-0/+2
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-3/+3
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-10/+10
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-8/+6
2023-07-10Fix another strange suggestion spanMichael Goulet-1/+1
2023-07-10Don't use method span on clone suggestionMichael Goulet-2/+2
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-1/+1
2023-06-30Better messages for next in a iterator inside for loopsyukang-0/+6
2023-06-20address most easy commentsZiru Niu-4/+3
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-3/+3
2023-06-18Better error for non const `PartialEq` call generated by `match`Deadbeef-5/+11
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-04Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnrbors-1/+1
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-04-27Don't call await a methodMichael Goulet-6/+15
2023-04-25Replace `tcx.mk_trait_ref` with `ty::TraitRef::new`Maybe Waffle-1/+1