Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_db/src/search.rs')
| -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 3ff48520f4..805eac30b8 100644 --- a/crates/ide_db/src/search.rs +++ b/crates/ide_db/src/search.rs @@ -271,7 +271,7 @@ impl Definition { } if let Definition::Macro(macro_def) = self { - return match macro_def.kind() { + return match macro_def.kind(db) { hir::MacroKind::Declarative => { if macro_def.attrs(db).by_key("macro_export").exists() { SearchScope::reverse_dependencies(db, module.krate()) |