about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/borrowck_errors.rs
AgeCommit message (Expand)AuthorLines
2025-09-28Point at lifetime requirement origin in more casesEsteban Küber-1/+1
2025-09-28Point at fn bound that introduced lifetime obligationEsteban Küber-1/+1
2025-03-06Use closure parse codeSantiago Pastorino-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-09Remove unnecessary lifetimes in dataflow structs.Nicholas Nethercote-1/+1
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-1/+1
2024-08-25Avoid taking reference of &TyKindMichael Goulet-1/+1
2024-08-16Add `warn(unreachable_pub)` to `rustc_borrowck`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+2
2024-07-21Explain that coroutine can be marked staticMichael Goulet-3/+27
2024-06-27Rename `'cx` to `'infcx`Oli Scherer-25/+25
2024-06-26Restrict diagnostic context lifetime of mir borrowck to InferCtxt instead of ...Oli Scherer-25/+25
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-06-24Auto merge of #126023 - amandasystems:you-dropped-this-again, r=nikomatsakisbors-1/+1
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-2/+2
2024-06-05Remove confusing `use_polonius` flag and do less cloningAmanda Stjerna-1/+1
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-38/+25
2024-02-06Invert diagnostic lints.Nicholas Nethercote-0/+3
2024-02-02Remove `BorrowckErrors::tainted_by_errors`.Nicholas Nethercote-8/+8
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-1/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-12/+12
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-24/+37
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-41/+29
2023-12-24Remove `MirBorrowckCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-21/+13
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-19/+23
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-30/+26
2023-10-27Use targetted diagnostic for borrow across yield errorOli Scherer-1/+2
2023-10-20s/generator/coroutine/Oli Scherer-2/+2
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-26/+20
2023-06-23avoid `&format` in error message codeTakayuki Maeda-1/+1
2023-04-19Add `#[track_caller]` to `struct_span_err_with_code` (drive-by cleanup)Maybe Waffle-0/+1
2023-01-15Tweak E0597Esteban Küber-3/+3
2023-01-05Detect closures assigned to binding in blockEsteban Küber-4/+3
2023-01-01Merge multiple mutable borrows of immutable binding errorsEsteban Küber-14/+14
2022-11-09struct error E0505AndyJado-2/+11
2022-07-07On partial uninit error point at where we need initEsteban Küber-22/+4
2022-07-01update cfg(bootstrap)sPietro Albini-1/+1
2022-06-27various: add `rustc_lint_diagnostics` to diag fnsDavid Wood-2/+5
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-25/+25
2022-04-05span: move `MultiSpan`David Wood-2/+2
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-27/+31
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-27/+37
2022-02-11rework borrowck errors so that it's harder to not set taintedMichael Goulet-1/+1
2021-09-07Move rustc_mir::borrow_check to new crate rustc_borrowck.Camille GILLOT-0/+487