diff options
Diffstat (limited to 'crates/ide_db/src')
-rw-r--r-- | crates/ide_db/src/search.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_db/src/search.rs b/crates/ide_db/src/search.rs index 5fdcb13cf..ff958c757 100644 --- a/crates/ide_db/src/search.rs +++ b/crates/ide_db/src/search.rs | |||
@@ -257,7 +257,7 @@ impl Definition { | |||
257 | }; | 257 | }; |
258 | 258 | ||
259 | if let Definition::Macro(macro_def) = self { | 259 | if let Definition::Macro(macro_def) = self { |
260 | if macro_def.is_declarative() { | 260 | if macro_def.kind() == hir::MacroKind::Declarative { |
261 | return if macro_def.attrs(db).by_key("macro_export").exists() { | 261 | return if macro_def.attrs(db).by_key("macro_export").exists() { |
262 | rev_dep_scope() | 262 | rev_dep_scope() |
263 | } else { | 263 | } else { |