aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/render/macro_.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/completion/src/render/macro_.rs')
-rw-r--r--crates/completion/src/render/macro_.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/completion/src/render/macro_.rs b/crates/completion/src/render/macro_.rs
index 91055a296..b1284f201 100644
--- a/crates/completion/src/render/macro_.rs
+++ b/crates/completion/src/render/macro_.rs
@@ -1,7 +1,7 @@
1//! Renderer for macro invocations. 1//! Renderer for macro invocations.
2 2
3use assists::utils::{ImportScope, MergeBehaviour};
4use hir::{Documentation, HasSource, ModPath}; 3use hir::{Documentation, HasSource, ModPath};
4use ide_helpers::insert_use::{ImportScope, MergeBehaviour};
5use syntax::display::macro_label; 5use syntax::display::macro_label;
6use test_utils::mark; 6use test_utils::mark;
7 7
@@ -12,6 +12,7 @@ use crate::{
12 12
13pub(crate) fn render_macro<'a>( 13pub(crate) fn render_macro<'a>(
14 ctx: RenderContext<'a>, 14 ctx: RenderContext<'a>,
15 // TODO kb add some object instead of a tuple?
15 import_data: Option<(ModPath, ImportScope, Option<MergeBehaviour>)>, 16 import_data: Option<(ModPath, ImportScope, Option<MergeBehaviour>)>,
16 name: String, 17 name: String,
17 macro_: hir::MacroDef, 18 macro_: hir::MacroDef,