about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2023-08-23Suggest mutable borrow on read only for-loop that should be mutableEsteban Küber-88/+91
2023-08-23Remove the unhelpful let binding diag comes from FormatArgumentsyukang-13/+37
2023-08-08Rollup merge of #114566 - fmease:type-alias-laziness-is-crate-specific, r=oli...Matthias Krüger-1/+1
2023-08-07Store the laziness of type aliases in the DefKindLeón Orell Valerian Liehr-1/+1
2023-08-04Rollup merge of #114477 - estebank:arc-clone, r=compiler-errorsMatthias Krüger-1/+11
2023-08-04Account for `Rc` and `Arc` when suggesting to cloneEsteban Küber-1/+11
2023-08-04Improve spans for indexing expressionsNilstrieb-3/+3
2023-08-02Rollup merge of #114079 - compiler-errors:closure-upvars, r=oli-obkNilstrieb-2/+3
2023-08-01Use upvar_tys in more places, make it a listMichael Goulet-2/+3
2023-07-28Account for macros when suggesting a new let bindingEsteban Küber-1/+2
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-47/+29
2023-07-17Rename arg_iter to iter_instantiatedMichael Goulet-1/+1
2023-07-14Rollup merge of #113599 - chenyukang:yukang-fix-use-maybe_body_owned_by, r=cj...Matthias Krüger-77/+61
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-66/+63
2023-07-14fix the issue of shorthand in suggest_cloningyukang-3/+15
2023-07-14use maybe_body_owned_by for closureyukang-74/+46
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-54/+86
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-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-2/+6
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-2/+2
2023-07-01Rollup merge of #113174 - chenyukang:yukang-fix-102972-loop-next, r=compiler-...Matthias Krüger-2/+80
2023-06-30add typecheck for iteratoryukang-20/+17
2023-06-30Better messages for next in a iterator inside for loopsyukang-2/+83
2023-06-30Rollup merge of #111403 - y21:suggest-slice-swap, r=compiler-errorsMatthias Krüger-3/+4
2023-06-29add `slice::swap` suggestiony21-3/+4
2023-06-28don't suggest `move` for borrows that aren't closuresLukas Markeffsky-13/+14
2023-06-27Auto merge of #112938 - compiler-errors:clause-3, r=oli-obkbors-7/+7
2023-06-27Auto merge of #112693 - ericmarkmartin:use-more-placeref, r=spastorinobors-7/+1
2023-06-26Migrate predicates_of and caller_bounds to ClauseMichael Goulet-7/+7
2023-06-25use PlaceRef abstractions more consistentlyEric Mark Martin-7/+1
2023-06-22Migrate item_bounds to ty::ClauseMichael Goulet-1/+1
2023-06-21Rollup merge of #112772 - compiler-errors:clauses-1, r=lcnrNilstrieb-4/+4
2023-06-20address most easy commentsZiru Niu-4/+3
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-20/+30
2023-06-19s/Clause/ClauseKindMichael Goulet-4/+4
2023-06-18Better error for non const `PartialEq` call generated by `match`Deadbeef-10/+19
2023-06-06Rollup merge of #112019 - jieyouxu:issue-111554, r=compiler-errorsMatthias Krüger-6/+22
2023-05-29Rename `tcx.mk_re_*` => `Region::new_*`Maybe Waffle-20/+21
2023-05-29Don't suggest changing {ImmRef,MutRef} implicit self to be mutable许杰友 Jieyou Xu (Joe)-6/+22
2023-05-25Remove DesugaringKind::Replace.Camille GILLOT-34/+1
2023-05-24Rollup merge of #111912 - WaffleLapkin:is_some_and_in_the_compiler, r=petroch...Manish Goregaokar-13/+8
2023-05-24Use ObligationCtxt in custom type opsMichael Goulet-1/+1
2023-05-24Use `is_some_and`/`is_ok_and` in less obvious spotsMaybe Waffle-10/+5
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-3/+3
2023-05-09Rollup merge of #110583 - Ezrashaw:tweak-make-mut-spans, r=estebankDylan DPC-245/+264
2023-05-08Rollup merge of #110827 - compiler-errors:issue-110761-followup, r=cjgillotDylan DPC-3/+13
2023-05-05fix trait definition spans in "make mut" suggestionEzra Shaw-196/+197
2023-05-05implement review commentEzra Shaw-2/+2
2023-05-05tweak spans for `ref mut` suggestionEzra Shaw-7/+9