about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
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
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-9/+5
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-4/+3
2025-02-22Fix binding mode problemsMichael Goulet-5/+5
2025-02-21Move methods from Map to TyCtxt, part 3.Nicholas Nethercote-22/+16
2025-02-19Remove `MirVisitable`.Nicholas Nethercote-16/+18
2025-02-19Rollup merge of #137213 - nnethercote:rm-rustc_middle-mir-tcx, r=compiler-errorsMatthias Krüger-5/+3
2025-02-19Remove `rustc_middle::mir::tcx` module.Nicholas Nethercote-5/+3
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-27/+23
2025-02-17Rollup merge of #136466 - nnethercote:start-removing-Map, r=cjgillotMatthias Krüger-52/+48
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-15/+15
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-35/+31
2025-02-17Avoid unnecessary use of the `Map` trait.Nicholas Nethercote-2/+2
2025-02-15Rework name_regions to not rely on reverse scc graph for non-member-constrain...Michael Goulet-6/+24
2025-02-14further simplify a matchdianne-12/+11
2025-02-13remove `fr_is_local` and `outlived_fr_is_local` fields from `ErrorConstraintI...dianne-31/+14
2025-02-13Rollup merge of #136559 - compiler-errors:resolve-regions-for-type-test-failu...Jacob Pratt-2/+5
2025-02-13Improved named region errorsMichael Goulet-2/+5