about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
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
2025-02-12Auto merge of #135994 - 1c3t3a:rename-unsafe-ptr, r=oli-obkbors-1/+1
2025-02-11Deeply normalize signature in new solverMichael Goulet-2/+57
2025-02-10Rename rustc_middle::Ty::is_unsafe_ptr to is_raw_ptrBastian Kersting-1/+1
2025-02-08Rustfmtbjorn3-44/+48
2025-02-04fix NLL TLS end of function spansRémy Rakic-1/+13
2025-02-03Rollup merge of #136299 - lqd:polonius-next-episode-9, r=jackh726Matthias Krüger-2/+21
2025-02-02Rollup merge of #136402 - notriddle:notriddle/let-expr-detector, r=compiler-e...Matthias Krüger-18/+92
2025-02-02Rollup merge of #136368 - estebank:listify, r=fee1-deadMatthias Krüger-11/+9
2025-02-02Rollup merge of #136328 - estebank:long-ty-path, r=jieyouxu,lqdMatthias Krüger-28/+4
2025-02-01diagnostics: fix borrowck suggestions for if/while let conditionalsMichael Howell-18/+92
2025-02-01Rollup merge of #130514 - compiler-errors:unsafe-binders, r=oli-obkMatthias Krüger-5/+8