about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
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
2025-04-15Don't name macro internals in "does not live long enough" errors.Mara Bos-6/+14
2025-04-14Move `has_self` field to `hir::AssocKind::Fn`.Nicholas Nethercote-1/+1
2025-04-10Rollup merge of #139510 - nnethercote:name-to-ident, r=fee1-deadMatthias Krüger-6/+6
2025-04-10Address review comments.Nicholas Nethercote-1/+1
2025-04-10Rename some `name` variables as `ident`.Nicholas Nethercote-6/+6
2025-04-08Rollup merge of #139509 - xizheyin:issue-139359, r=lcnrMatthias Krüger-11/+12
2025-04-08Update compiler/rustc_borrowck/src/diagnostics/region_errors.rsxizheyin-1/+2
2025-04-08clean code: remove Deref<Target=RegionKind> impl for Region and use `.kind()`xizheyin-11/+11
2025-04-07rm `RegionInferenceContext::var_infos`lcnr-8/+5
2025-04-04Rollup merge of #139366 - RalfJung:ToSocketAddrs, r=jieyouxuMatthias Krüger-1/+1
2025-04-04ToSocketAddrs: fix typoRalf Jung-1/+1
2025-04-03Rollup merge of #138462 - ShE3py:mut-borrow-in-loop, r=oli-obkMatthias Krüger-13/+0
2025-04-02Move methods from `Map` to `TyCtxt`, part 5.Nicholas Nethercote-6/+6
2025-03-28Don't use `kw::Empty` in `hir::Lifetime::ident`.Nicholas Nethercote-3/+3
2025-03-19Use `Option<Ident>` for lowered param names.Nicholas Nethercote-7/+7
2025-03-17Rollup merge of #138384 - nnethercote:hir-ItemKind-idents, r=fmeaseMatthias Krüger-3/+5
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-3/+5
2025-03-17Use `strip_{prefix|suffix}` instead of `{starts|ends}_with`+indexingYotam Ofek-2/+2
2025-03-15Squash fold into tyMichael Goulet-2/+1
2025-03-13Dedup `&mut *` reborrow suggestion in loopsLieselotte-13/+0
2025-03-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-6/+6
2025-03-06Fail gracefully if mutating on a use closure and the closure it not declared mutSantiago Pastorino-1/+1