diff --git a/crates/hir-analysis/src/ty/def_analysis.rs b/crates/hir-analysis/src/ty/def_analysis.rs index 4a074b42a..22323479c 100644 --- a/crates/hir-analysis/src/ty/def_analysis.rs +++ b/crates/hir-analysis/src/ty/def_analysis.rs @@ -889,7 +889,7 @@ enum DefKind { Adt(AdtDef), Trait(TraitDef), ImplTrait(Implementor), - Impl(HirImpl, TyId), + Impl(HirImpl, #[allow(dead_code)] TyId), Func(FuncDef), }