about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2025-08-01Auto merge of #144446 - nnethercote:opt-region-constraints, r=lcnrbors-20/+19
2025-07-31Overhaul `Constraint`.Nicholas Nethercote-20/+19
2025-07-31Remove `ParamEnvAnd::into_parts`.Nicholas Nethercote-2/+2
2025-07-29Create two methods to fix `find_oldest_ancestor_in_same_ctxt`xizheyin-1/+1
2025-07-28Rename impl_of_method -> impl_of_assocCameron Steffen-3/+3
2025-07-28Rename trait_of_item -> trait_of_assocCameron Steffen-2/+2
2025-07-28Auto merge of #144469 - Kivooeo:chains-cleanup, r=SparrowLiibors-247/+236
2025-07-28use let chains in ast, borrowck, codegen, const_evalKivooeo-247/+236
2025-07-25Mention type that could be `Clone` but isn't in more casesEsteban Küber-0/+52
2025-07-25Rollup merge of #144200 - estebank:dont-point-at-closure, r=lcnrMatthias Krüger-51/+83
2025-07-23Point at the type that doesn't impl `Clone` in more cases beyond closuresEsteban Küber-10/+5
2025-07-21Reduce comment verbosityEsteban Küber-33/+5
2025-07-21Tweak spans when encountering multiline initializer in move errorEsteban Küber-2/+9
2025-07-21Generalize logic pointing at binding moved into closureEsteban Küber-24/+55
2025-07-21Tweak borrowck label pointing at `!Copy` value moved into closureEsteban Küber-51/+78
2025-07-21Dont ICE on copy error being suppressed due to overflowMichael Goulet-4/+5
2025-07-13Remove hir::AssocItemKind.Camille GILLOT-31/+15
2025-07-04NitsMichael Goulet-2/+2
2025-07-04Fix elided lifetimes in rustdocMichael Goulet-3/+3
2025-07-04Remove Symbol for Named LateParam/Bound variantsMichael Goulet-9/+8
2025-07-01mir: Mark `Statement` and `BasicBlockData` as `#[non_exhaustive]`dianqk-0/+1
2025-06-27Auto merge of #143074 - compiler-errors:rollup-cv64hdh, r=compiler-errorsbors-2/+3
2025-06-26Rollup merge of #142637 - compiler-errors:less-globs, r=lcnrMichael Goulet-2/+3
2025-06-26Rollup merge of #124595 - estebank:issue-104232, r=davidtwcoMatthias Krüger-29/+27
2025-06-25Rollup merge of #142724 - xizheyin:avoid_overwrite_args, r=oli-obkJana Dönszelmann-1/+7
2025-06-25Remove some glob imports from the type systemMichael Goulet-2/+3
2025-06-25Add runtime check to avoid overwrite arg easily in diag and store and restore...xizheyin-1/+7
2025-06-24Suggest cloning `Arc` moved into closureEsteban Küber-29/+27
2025-06-22Init local_names lazily for borrowck diagnosticsKornel-19/+53
2025-06-22Avoid panic when debug info is missingKornel-3/+7
2025-06-19Remove old format_args diagnostic.Mara Bos-27/+11
2025-06-16Handle same-crate macro for borrowck semicolon suggestionUrgau-4/+1
2025-06-15Rollup merge of #142543 - Urgau:span-borrowck-semicolon, r=fmeaseLeón Orell Valerian Liehr-3/+7
2025-06-15Suggest adding semicolon in user code rather than macro impl detailsUrgau-3/+7
2025-06-12Rollup merge of #141069 - chenyukang:yukang-fix-137486-suggest-mut, r=davidtwcoMatthias Krüger-1/+13
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-2/+2
2025-06-04Don't refer to 'local binding' in extern macro.Mara Bos-1/+7
2025-06-02fix bug where borrowck tries to describe a name from a macro in another crateJana Dönszelmann-8/+16
2025-05-27Suggest mut when possbile for temporary value dropped while borrowedyukang-1/+13
2025-05-27Fix some var namesMichael Goulet-3/+3
2025-05-27Rename unpack to kindMichael Goulet-2/+2
2025-05-02remove an unused codepathJana Dönszelmann-6/+1
2025-05-02Test that names of variables in external macros are not shown on a borrow errorJana Dönszelmann-0/+8
2025-04-25Rollup merge of #140257 - amandasystems:housecleaning, r=wesleywiserMatthias Krüger-22/+19
2025-04-24Some drive-by housecleaning in `rustc_borrowck`Amanda Stjerna-22/+19
2025-04-22Use `is_lang_item` and `as_lang_item` instead of handrolling their logicOli Scherer-6/+1
2025-04-19Auto merge of #139114 - m-ou-se:super-let-pin, r=davidtwcobors-6/+14
2025-04-17Rollup merge of #139770 - nnethercote:rename-LifetimeName, r=BoxyUwUMatthias Krüger-1/+1
2025-04-16Rename `LifetimeName` as `LifetimeKind`.Nicholas Nethercote-1/+1
2025-04-15Fix wrong suggestion for async gen block and add regression ui test for #139839Guillaume Gomez-4/+9