about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics/mutability_errors.rs
AgeCommit message (Expand)AuthorLines
2025-09-26ProjectionElem::Subtype -> CastKind::Subtypebeepster4096-1/+0
2025-09-12Introduce trait_item_ofCameron Steffen-1/+1
2025-08-18comment style changesDeadbeef-35/+34
2025-08-17refactor return type of `suggest_ampmut` into an enumDeadbeef-171/+178
2025-08-16overhaul `&mut` suggestions in borrowck errorsDeadbeef-323/+360
2025-08-13Cleanup assoc parent utilsCameron Steffen-1/+2
2025-07-28Rename impl_of_method -> impl_of_assocCameron Steffen-3/+3
2025-07-13Remove hir::AssocItemKind.Camille GILLOT-31/+15
2025-07-01mir: Mark `Statement` and `BasicBlockData` as `#[non_exhaustive]`dianqk-0/+1
2025-06-22Init local_names lazily for borrowck diagnosticsKornel-3/+3
2025-06-02fix bug where borrowck tries to describe a name from a macro in another crateJana Dönszelmann-8/+16
2025-04-04ToSocketAddrs: fix typoRalf Jung-1/+1
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-12Move methods from `Map` to `TyCtxt`, part 4.Nicholas Nethercote-1/+1
2025-03-06Fail gracefully if mutating on a use closure and the closure it not declared mutSantiago Pastorino-1/+1
2025-02-21Move methods from Map to TyCtxt, part 3.Nicholas Nethercote-4/+3
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-13/+10
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-9/+10
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-1/+2
2025-01-28Tweak `&mut self` suggestion spanEsteban Küber-15/+10
2025-01-08Rollup merge of #134920 - lqd:polonius-next-episode-6, r=jackh726Jacob Pratt-2/+34
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-2/+6
2025-01-01move `find_assignments` to its only use siteRémy Rakic-2/+34
2024-12-31Fix span for IndexMut method call on HashMap/BTreeMapMichael Goulet-2/+2
2024-12-31Use if-let in structured suggestion instead of Option::mapMichael Goulet-6/+9
2024-12-31Explain how to mutate a HashMap/BTreeMap with more nuanceMichael Goulet-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-16rustc_borrowck: Suggest changing `&raw const` to `&raw mut` if applicableMartin Nordholts-4/+15
2024-12-16rustc_borrowck: suggest_ampmut(): Inline unneeded local varMartin Nordholts-2/+1
2024-12-16rustc_borrowck: suggest_ampmut(): Just rename some variablesMartin Nordholts-6/+6
2024-12-13rustc_borrowck: Convert suggest_ampmut() 4-tuple to struct for readabilityMartin Nordholts-13/+46
2024-12-13rustc_borrowck: Stop suggesting the invalid syntax `&mut raw const`Martin Nordholts-0/+5
2024-12-13rustc_borrowck: Make suggest_ampmut() return type match its useMartin Nordholts-9/+8
2024-11-19Put `param_env` into `infcx`.Nicholas Nethercote-2/+2
2024-11-05Auto merge of #132580 - compiler-errors:globs, r=Noratriebbors-1/+1
2024-11-04Tidy up comments and some formatting.Nicholas Nethercote-3/+4
2024-11-04Remove BorrowKind glob, make names longerMichael Goulet-1/+1
2024-11-02compiler: Replace rustc_target with _abi in _borrowckJubilee Young-1/+1
2024-10-23fix some manual_mapMatthias Krüger-7/+3
2024-10-19Rollup merge of #127675 - chenyukang:yukang-fix-127562-addr, r=petrochenkovMatthias Krüger-12/+21
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-1/+1
2024-09-09Remove unnecessary lifetimes in dataflow structs.Nicholas Nethercote-1/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_borrowck`.Nicholas Nethercote-0/+1
2024-08-16Add `warn(unreachable_pub)` to `rustc_borrowck`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-9/+8
2024-07-21Move all error reporting into rustc_trait_selectionMichael Goulet-1/+1
2024-07-16Remove invalid help diagnostics for const pointeryukang-12/+21