diff options
| author | Michael Goulet <michael@errs.io> | 2025-07-09 17:06:39 +0000 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-07-09 17:07:04 +0000 | 
| commit | 728017ea8f14e0cc343a6ded0e955868d628cc76 (patch) | |
| tree | 2bd4a06abfab73350cc88e04ccbcefb02fb6e9c2 /compiler/rustc_hir_analysis/src/errors.rs | |
| parent | 040e2f8b9ff2d76fbe2146d6003e297ed4532088 (diff) | |
| download | rust-728017ea8f14e0cc343a6ded0e955868d628cc76.tar.gz rust-728017ea8f14e0cc343a6ded0e955868d628cc76.zip | |
Make AsyncDrop check that it's being implemented on a local ADT
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 c1c82839212..9e29e5f6473 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)] | 
