From 7784cadc3dc5b669e88ca3743b6c4225a6b6213b Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Mon, 22 Mar 2021 13:39:13 +0800 Subject: Reexport PrefixKind to remove deps to hir --- crates/ide_db/src/helpers/insert_use.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crates/ide_db') diff --git a/crates/ide_db/src/helpers/insert_use.rs b/crates/ide_db/src/helpers/insert_use.rs index 9e0cb91c3..37acf95f0 100644 --- a/crates/ide_db/src/helpers/insert_use.rs +++ b/crates/ide_db/src/helpers/insert_use.rs @@ -14,10 +14,12 @@ use syntax::{ AstToken, InsertPosition, NodeOrToken, SyntaxElement, SyntaxNode, SyntaxToken, }; +pub use hir::PrefixKind; + #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub struct InsertUseConfig { pub merge: Option, - pub prefix_kind: hir::PrefixKind, + pub prefix_kind: PrefixKind, pub group: bool, } -- cgit v1.2.3