diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-07-18 14:49:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-18 14:49:17 +0200 |
| commit | 3acbb4d42133fb1604da1e9ed9728da97ffd4465 (patch) | |
| tree | a7a625da3bd2da5a8b499ec88274e8ab5f7c056b /compiler/rustc_hir_analysis/src/errors.rs | |
| parent | 7b6e2f972563a5a8a647cfb1ee4f8b8204ade6cf (diff) | |
| parent | 728017ea8f14e0cc343a6ded0e955868d628cc76 (diff) | |
| download | rust-3acbb4d42133fb1604da1e9ed9728da97ffd4465.tar.gz rust-3acbb4d42133fb1604da1e9ed9728da97ffd4465.zip | |
Rollup merge of #143699 - compiler-errors:async-drop-fund, r=oli-obk
Make `AsyncDrop` check that it's being implemented on a local ADT Fixes https://github.com/rust-lang/rust/issues/143691
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/errors.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors.rs b/compiler/rustc_hir_analysis/src/errors.rs index eb65050c17c..fbd21f8b100 100644 --- a/compiler/rustc_hir_analysis/src/errors.rs +++ b/compiler/rustc_hir_analysis/src/errors.rs @@ -205,6 +205,7 @@ pub(crate) struct DropImplOnWrongItem { #[primary_span] #[label] pub span: Span, + pub trait_: Symbol, } #[derive(Diagnostic)] |
