Reexport PrefixKind to remove deps to hir

This commit is contained in:
Edwin Cheng 2021-03-22 13:39:13 +08:00
parent 858ad55437
commit 7784cadc3d
3 changed files with 8 additions and 5 deletions

View file

@ -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<MergeBehavior>,
pub prefix_kind: hir::PrefixKind,
pub prefix_kind: PrefixKind,
pub group: bool,
}