summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics/mod.rs
AgeCommit message (Expand)AuthorLines
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
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-21Clone region var origins instead of taking in borrowckMichael Goulet-16/+11
2023-04-17Rollup merge of #104055 - AndyJado:bck_errors, r=davidtwcoMatthias Krüger-143/+103
2023-04-16Move some utils out of `rustc_const_eval`Nilstrieb-3/+3
2023-04-13rm var_span_label to var_subdiag & eager subdiagAndyJado-143/+103
2023-04-06Use BoundTy and BoundRegion instead of kind of PlaceholderTy and PlaceholderR...Jack Huey-6/+8
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-2/+3
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-1/+1
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-5/+5
2023-03-21remove some trait solver helperslcnr-1/+0