Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_ty/src/diagnostics/decl_check.rs')
| -rw-r--r-- | crates/hir_ty/src/diagnostics/decl_check.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/diagnostics/decl_check.rs b/crates/hir_ty/src/diagnostics/decl_check.rs index 9a0f457905..3098198517 100644 --- a/crates/hir_ty/src/diagnostics/decl_check.rs +++ b/crates/hir_ty/src/diagnostics/decl_check.rs @@ -180,7 +180,7 @@ impl<'a> DeclValidator<'a> { AttrDefId::ImplId(iid) => Some(iid.lookup(self.db.upcast()).container.into()), AttrDefId::ExternBlockId(id) => Some(id.lookup(self.db.upcast()).container.into()), // These warnings should not explore macro definitions at all - AttrDefId::MacroDefId(_) => None, + AttrDefId::MacroId(_) => None, AttrDefId::AdtId(aid) => match aid { AdtId::StructId(sid) => Some(sid.lookup(self.db.upcast()).container.into()), AdtId::EnumId(eid) => Some(eid.lookup(self.db.upcast()).container.into()), |