mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Reexport PrefixKind to remove deps to hir
This commit is contained in:
parent
858ad55437
commit
7784cadc3d
3 changed files with 8 additions and 5 deletions
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue