about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
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
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-12-09Introduce `default_field_values` featureEsteban Küber-2/+6
2024-12-07Mention type parameter in more cases and don't suggest ~const bound already t...Esteban Küber-3/+4
2024-11-25`add_move_error_suggestions`: use a HIR visitor rather than `SourceMap`dianne-39/+118
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-11/+7
2024-11-19Put `param_env` into `infcx`.Nicholas Nethercote-31/+34
2024-11-18reviewlcnr-1/+3
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-7/+16
2024-11-17`suggest_borrow_generic_arg`: instantiate clauses properlydianne-16/+10
2024-11-13Suggest borrowing arguments in generic positions when trait bounds are satisfieddianne-159/+157
2024-11-13Use a common subdiagnostic format for generic borrowsdianne-5/+10
2024-11-13Provide borrow-instead-of-move suggestions for calls of fn-like items from ot...dianne-39/+40
2024-11-09Dont suggest use<APIT>Michael Goulet-26/+45
2024-11-05Auto merge of #132580 - compiler-errors:globs, r=Noratriebbors-5/+5
2024-11-04Rollup merge of #131153 - VulnBandit:copy_impl_vuln, r=compiler-errorsJubilee-0/+17
2024-11-04Remove `ToUniverseInfo` impl for `CanonicalQueryInput<CustomTypeOp>`.Nicholas Nethercote-9/+0
2024-11-04Merge `UniverseInfo` and `UniverseInfoInner`.Nicholas Nethercote-25/+13
2024-11-04Tidy up comments and some formatting.Nicholas Nethercote-38/+48
2024-11-04ty::BrK -> ty::BoundRegionKind::KMichael Goulet-4/+4
2024-11-04Remove BorrowKind glob, make names longerMichael Goulet-1/+1
2024-11-04Reduce visibilities.Nicholas Nethercote-1/+1