about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2025-01-31Rework "long type names" printing logicEsteban Küber-28/+4
2025-01-31Make comma separated lists of anything easier to make for errorsEsteban Küber-11/+9
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-5/+8
2025-01-31record boring locals in polonius contextRémy Rakic-2/+21
2025-01-31Move `find_self_call`.Nicholas Nethercote-8/+5
2025-01-29Rollup merge of #136212 - estebank:span-tweak, r=petrochenkovMatthias Krüger-15/+10
2025-01-28Tweak `&mut self` suggestion spanEsteban Küber-15/+10
2025-01-25Pass spans to perform_locally_in_new_solverMichael Goulet-1/+1
2025-01-25Rollup merge of #136018 - estebank:long-moved-type, r=jieyouxuMatthias Krüger-3/+31
2025-01-24Use short ty string for move errorsEsteban Küber-3/+31
2025-01-23`visit_x_unambig`Boxy-1/+1
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-4/+4
2025-01-23Make `hir::TyKind::TraitObject` use tagged ptrBoxy-1/+1
2025-01-21Move supertrait_def_ids into the elaborate module like all other fnsMichael Goulet-3/+4
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-3/+3
2025-01-13Assert that Instance::try_resolve is only used on body-like thingsMichael Goulet-38/+29
2025-01-11collect diag suggestions instead of pushing into vector repeatedlyYotam Ofek-12/+9
2025-01-11improve clunky grammar in borrowck diagnosticYotam Ofek-1/+1
2025-01-08Try to explain borrow for tail expr temporary drop order change in 2024Michael Goulet-16/+17
2025-01-08Auto merge of #133858 - dianne:better-blame-constraints-for-static, r=lcnrbors-105/+90
2025-01-08Rollup merge of #134920 - lqd:polonius-next-episode-6, r=jackh726Jacob Pratt-2/+34
2025-01-06only avoid blaming assignments from argument patternsdianne-4/+4
2025-01-06point out unblamed constraints from `Copy`/`Sized` bounds in region errorsdianne-0/+24
2025-01-06make outlives constraints from generic arguments less boringdianne-2/+3
2025-01-06remove the unused `ConstraintCategory::ClosureBounds`dianne-1/+0
2025-01-06`best_blame_constraint`: avoid blaming assignments without user-provided typesdianne-4/+4
2025-01-06cleanup: remove `ExtraConstraintInfo`dianne-102/+63
2025-01-06Remove CallKind::Deref hack from UseSpansMichael Goulet-9/+0
2025-01-06Improve span when temporary receiver is dropped in edition 2024Michael Goulet-0/+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
2025-01-01Rollup merge of #134945 - compiler-errors:map-mutate-nits, r=estebankStuart Cook-7/+10
2024-12-31Rollup merge of #133486 - dianne:fix-move-error-suggestion, r=estebankTrevor Gross-39/+118
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-30rename `diags` fieldRémy Rakic-12/+12
2024-12-30clean up `BorrowckDiags`Rémy Rakic-17/+6
2024-12-30merge `diags` module into `diagnostics`Rémy Rakic-2/+136
2024-12-27Fix typoschloefeal-1/+1
2024-12-18introduce `LateParamRegionKind`lcnr-7/+7
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-14/+7
2024-12-17Rollup merge of #134412 - lcnr:borrowck-cleanup-trivial, r=jackh726Jacob Pratt-11/+13
2024-12-17Rollup merge of #134397 - Enselic:raw-mut, r=compiler-errorsJacob Pratt-10/+20
2024-12-17small refactor to region error handlinglcnr-11/+13
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-16Avoid wrapping a trivially defaultable type in `Option`Oli Scherer-6/+3
2024-12-13rustc_borrowck: Convert suggest_ampmut() 4-tuple to struct for readabilityMartin Nordholts-13/+46