From 1b783e33e953f2c63c96c1d7fa54d2e64fbd2d9a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 8 Jun 2019 14:48:56 +0300 Subject: one macro def should be enough --- crates/ra_ide_api/src/name_ref_kind.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/ra_ide_api/src/name_ref_kind.rs') diff --git a/crates/ra_ide_api/src/name_ref_kind.rs b/crates/ra_ide_api/src/name_ref_kind.rs index 90972bc58..000036db4 100644 --- a/crates/ra_ide_api/src/name_ref_kind.rs +++ b/crates/ra_ide_api/src/name_ref_kind.rs @@ -1,11 +1,12 @@ use ra_syntax::{AstNode, AstPtr, ast}; use hir::Either; -use crate::db::RootDatabase; use test_utils::tested_by; +use crate::db::RootDatabase; + pub enum NameRefKind { Method(hir::Function), - Macro(hir::MacroByExampleDef), + Macro(hir::MacroDef), FieldAccess(hir::StructField), AssocItem(hir::ImplItem), Def(hir::ModuleDef), -- cgit v1.2.3