about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics/explain_borrow.rs
AgeCommit message (Expand)AuthorLines
2025-09-28Point at multiple outlives requirements instead of just the first oneEsteban Küber-5/+8
2025-09-28Address review commentEsteban Küber-10/+14
2025-09-28reword noteEsteban Küber-1/+1
2025-09-28Point at lifetime requirement origin in more casesEsteban Küber-0/+13
2025-09-17Remove `DynKind`León Orell Valerian Liehr-2/+2
2025-08-22Region inference: Use outlives-static constraints in constraint searchAmanda Stjerna-1/+1
2025-07-29Create two methods to fix `find_oldest_ancestor_in_same_ctxt`xizheyin-1/+1
2025-07-28use let chains in ast, borrowck, codegen, const_evalKivooeo-19/+18
2025-06-22Init local_names lazily for borrowck diagnosticsKornel-6/+5
2025-06-16Handle same-crate macro for borrowck semicolon suggestionUrgau-4/+1
2025-06-15Suggest adding semicolon in user code rather than macro impl detailsUrgau-3/+7
2025-04-15Don't name macro internals in "does not live long enough" errors.Mara Bos-1/+3
2025-02-22Fix binding mode problemsMichael Goulet-1/+1
2025-02-21Move methods from Map to TyCtxt, part 3.Nicholas Nethercote-2/+2
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-2/+2
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-4/+4
2025-02-03Rollup merge of #136299 - lqd:polonius-next-episode-9, r=jackh726Matthias Krüger-2/+21
2025-02-01diagnostics: fix borrowck suggestions for if/while let conditionalsMichael Howell-18/+92
2025-01-31record boring locals in polonius contextRémy Rakic-2/+21
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-2/+2
2025-01-13Assert that Instance::try_resolve is only used on body-like thingsMichael Goulet-1/+1
2025-01-08Try to explain borrow for tail expr temporary drop order change in 2024Michael Goulet-9/+9
2025-01-06point out unblamed constraints from `Copy`/`Sized` bounds in region errorsdianne-0/+1
2025-01-06cleanup: remove `ExtraConstraintInfo`dianne-20/+17
2025-01-06Improve span when temporary receiver is dropped in edition 2024Michael Goulet-0/+34
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-04Tidy up comments and some formatting.Nicholas Nethercote-8/+12
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-3/+5
2024-09-24replace "cast" with "coercion" where applicableLukas Markeffsky-1/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-11downgrade borrowck suggestion level due to possible span conflictDing Xiang Fei-14/+29
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-9/+86
2024-09-09Remove unnecessary lifetimes in dataflow structs.Nicholas Nethercote-1/+1
2024-09-06Make `Ty::boxed_ty` return an `Option`Pavel Grigorenko-1/+2
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_borrowck`.Nicholas Nethercote-0/+1
2024-08-11Use assert_matches around the compilerMichael Goulet-2/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+4
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-1/+1
2024-06-24Separate the mir body lifetime from the other lifetimesOli Scherer-1/+1
2024-06-24Separate the lifetimes of the `BorrowckInferCtxt` from the other borrowed itemsOli Scherer-1/+1
2024-05-09Rename Generics::params to Generics::own_paramsMichael Goulet-26/+29
2024-04-24Modify `find_expr` from `Span` to better account for closuresEsteban Küber-1/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-4/+4
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-4/+4
2024-02-09Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwcoMatthias Krüger-0/+3
2024-02-07hir: Remove `fn opt_hir_id` and `fn opt_span`Vadim Petrochenkov-1/+1
2024-02-06Invert diagnostic lints.Nicholas Nethercote-0/+3
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-1/+1
2024-01-10Simplify some redundant namesMichael Goulet-2/+2
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-1/+1