about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics/mod.rs
AgeCommit message (Expand)AuthorLines
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
2024-01-12Remove redundant Code from FulfillmentErrorCode variantsMichael Goulet-1/+1
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-4/+3
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-25/+35
2023-12-25Only regular coroutines have movabilityMichael Goulet-3/+3
2023-12-25Make closures carry their own ClosureKind, rather than deducing what it is fr...Michael Goulet-25/+35
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-3/+3
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-2/+2
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-3/+3
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-1/+1
2023-12-11remove some redundant clonesMatthias Krüger-1/+1
2023-12-04Deduplicate some logicEsteban Küber-110/+51
2023-12-04Tweak output on specific caseEsteban Küber-1/+21
2023-12-04Suggest cloning and point out obligation errors on move errorEsteban Küber-48/+124
2023-12-04Tweak `.clone()` suggestion to work in more casesEsteban Küber-3/+17
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-3/+3
2023-11-26Auto merge of #118316 - Mark-Simulacrum:delete-copy-to-upvars, r=cjgillotbors-3/+3
2023-11-26Remove Upvar duplicationMark Rousskov-3/+3