summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics/mod.rs
AgeCommit message (Expand)AuthorLines
2025-01-10Try to explain borrow for tail expr temporary drop order change in 2024Michael Goulet-0/+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-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-2/+2
2024-11-19Put `param_env` into `infcx`.Nicholas Nethercote-4/+4
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-1/+1
2024-11-04Tidy up comments and some formatting.Nicholas Nethercote-1/+1
2024-11-02compiler: Replace rustc_target with _abi in _borrowckJubilee Young-1/+1
2024-10-31Try to point out when edition 2024 lifetime capture rules cause borrowck issuesMichael Goulet-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-8/+8
2024-09-09Remove unnecessary lifetimes in dataflow structs.Nicholas Nethercote-2/+2
2024-09-06Make `Ty::boxed_ty` return an `Option`Pavel Grigorenko-2/+2
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-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-12/+11
2024-07-21Move all error reporting into rustc_trait_selectionMichael Goulet-1/+1
2024-07-17If the moved value is a mut reference, it is used in a generic function and i...surechen-13/+12
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-1/+1
2024-06-27Rename `'cx` to `'infcx`Oli Scherer-2/+2
2024-06-26Restrict diagnostic context lifetime of mir borrowck to InferCtxt instead of ...Oli Scherer-2/+2
2024-06-24Separate the mir body lifetime from the other lifetimesOli Scherer-2/+2
2024-06-24Separate the lifetimes of the `BorrowckInferCtxt` from the other borrowed itemsOli Scherer-2/+2
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-145/+89
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-5/+5
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-9/+8
2024-06-03Move FulfillmentErrorCode to rustc_trait_selection tooMichael Goulet-2/+4
2024-05-10rename some variants in FulfillmentErrorCodeMichael Goulet-1/+1
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-23Rollup merge of #122598 - Nadrieril:full-derefpats, r=matthewjasperLeón Orell Valerian Liehr-1/+1
2024-04-20Add a non-shallow fake borrowNadrieril-1/+1
2024-04-19Stop taking ParamTy/ParamConst/EarlyParamRegion/AliasTy by refMichael Goulet-1/+1
2024-04-12review commentsEsteban Küber-0/+21
2024-04-11Better account for `FnOnce` in move errorsEsteban Küber-5/+59
2024-04-11Account for `.clone()` when suggesting `<T as Clone>::clone`Esteban Küber-2/+10
2024-03-23Simplify an iterator search in borrowck diagJosh Stone-11/+9
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-1/+1
2024-03-13Account for UnOps in borrowck messageEsteban Küber-2/+9
2024-03-09Drive-by fix string fmtEsteban Küber-6/+6
2024-03-06Add missing `#[rustc_lint_diagnostics]` attributes.Nicholas Nethercote-0/+5
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-6/+6
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-6/+6
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-83/+119
2024-02-06Make async closures directly lower to ClosureKind::CoroutineClosureMichael Goulet-2/+2
2024-01-16Auto merge of #116520 - Enselic:large-copy-into-fn, r=oli-obkbors-3/+4
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-3/+4
2024-01-15Rollup merge of #119897 - compiler-errors:fulfillment-errors, r=lcnrMatthias Krüger-1/+1
2024-01-13Make InferCtxtExt::could_impl_trait less messed upMichael Goulet-3/+5