about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2024-03-15Rollup merge of #122513 - petrochenkov:somehir4, r=fmeaseGuillaume Gomez-10/+4
2024-03-15Rollup merge of #122468 - beepster4096:borrowck_prefixes_cleanup, r=NadrierilGuillaume Gomez-20/+7
2024-03-14hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id`Vadim Petrochenkov-10/+4
2024-03-14Rename `hir::StmtKind::Local` into `hir::StmtKind::Let`Guillaume Gomez-3/+3
2024-03-13Account for UnOps in borrowck messageEsteban Küber-2/+9
2024-03-13Detect calls to `.clone()` on `T: !Clone` types on borrowck errorsEsteban Küber-7/+106
2024-03-13cleanup prefixes iteratorbeepster4096-20/+7
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-3/+3
2024-03-09Drive-by fix string fmtEsteban Küber-6/+6
2024-03-08Rollup merge of #121563 - Jarcho:use_cf, r=petrochenkovMatthias Krüger-47/+29
2024-03-06Add missing `#[rustc_lint_diagnostics]` attributes.Nicholas Nethercote-3/+11
2024-03-06Rewrite the `untranslatable_diagnostic` lint.Nicholas Nethercote-0/+5
2024-03-05Use `ControlFlow` in HIR visitorsJason Newcomb-47/+29
2024-03-01Rollup merge of #120646 - clubby789:uninit-destructuring-sugg, r=michaelwoeri...Matthias Krüger-1/+6
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-1/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-115/+77
2024-02-27Avoid a `span_delayed_bug` in `compute_regions`.Nicholas Nethercote-7/+11
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-5/+4
2024-02-21Convert `bug`s back to `delayed_bug`s.Nicholas Nethercote-2/+2
2024-02-21Convert `delayed_bug`s to `bug`s.Nicholas Nethercote-1/+1
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-0/+15
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-47/+64
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-143/+207
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-143/+207
2024-02-13Avoid an ICE in diagnosticsOli Scherer-1/+1
2024-02-12Rollup merge of #120958 - ShoyuVanilla:remove-subst, r=oli-obkMatthias Krüger-1/+1
2024-02-12Rollup merge of #120950 - compiler-errors:miri-async-closurs, r=RalfJung,oli-obkMatthias Krüger-8/+7
2024-02-12Rollup merge of #120917 - chenyukang:yukang-dead-parameters, r=compiler-errorsMatthias Krüger-1/+0
2024-02-12Dejargnonize substShoyu Vanilla-1/+1
2024-02-12remove a bunch of dead parameters in fnyukang-1/+0
2024-02-11is_closure_likeMichael Goulet-8/+7
2024-02-10hir: Remove `hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}`Vadim Petrochenkov-8/+9
2024-02-09Rollup merge of #120704 - amandasystems:silly-region-name-rewrite, r=compiler...Matthias Krüger-27/+31
2024-02-09Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwcoMatthias Krüger-14/+18
2024-02-08Make `RegionName` `Copy` by (transitively) interning the few string variantsAmanda Stjerna-13/+13
2024-02-07hir: Remove `fn opt_hir_id` and `fn opt_span`Vadim Petrochenkov-72/+65
2024-02-07hir: Make sure all `HirId`s have corresponding HIR `Node`sVadim Petrochenkov-1/+2
2024-02-06Fix incorrect suggestion for uninitialize binding in destructuring patternclubby789-1/+6
2024-02-06A drive-by rewrite of give_region_a_name()Amanda Stjerna-17/+21
2024-02-06Teach typeck/borrowck/solvers how to deal with async closuresMichael Goulet-10/+11
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-1/+1
2024-02-06Make async closures directly lower to ClosureKind::CoroutineClosureMichael Goulet-13/+29
2024-02-06Invert diagnostic lints.Nicholas Nethercote-14/+18
2024-02-03Rollup merge of #120592 - trevyn:cleanup-to-string, r=NilstriebMatthias Krüger-2/+2
2024-02-03Rollup merge of #120573 - nnethercote:rm-BorrowckErrors-tainted_by_errors, r=...Matthias Krüger-13/+13
2024-02-02Remove unnecessary `.to_string()`/`.as_str()`strevyn-2/+2
2024-02-03Improve a local variable name.Nicholas Nethercote-2/+2
2024-02-02Remove `BorrowckErrors::tainted_by_errors`.Nicholas Nethercote-12/+12
2024-02-02Rename `buffer_non_error_diag` as `buffer_non_error`.Nicholas Nethercote-1/+1
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-1/+1