diff options
Diffstat (limited to 'crates/ra_hir_expand/src')
-rw-r--r-- | crates/ra_hir_expand/src/builtin_derive.rs | 2 | ||||
-rw-r--r-- | crates/ra_hir_expand/src/builtin_macro.rs | 2 | ||||
-rw-r--r-- | crates/ra_hir_expand/src/db.rs | 2 | ||||
-rw-r--r-- | crates/ra_hir_expand/src/eager.rs | 2 | ||||
-rw-r--r-- | crates/ra_hir_expand/src/lib.rs | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_hir_expand/src/builtin_derive.rs b/crates/ra_hir_expand/src/builtin_derive.rs index 69fa907cb..95e6977f2 100644 --- a/crates/ra_hir_expand/src/builtin_derive.rs +++ b/crates/ra_hir_expand/src/builtin_derive.rs | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | use log::debug; | 3 | use log::debug; |
4 | 4 | ||
5 | use ra_parser::FragmentKind; | 5 | use parser::FragmentKind; |
6 | use ra_syntax::{ | 6 | use ra_syntax::{ |
7 | ast::{self, AstNode, GenericParamsOwner, ModuleItemOwner, NameOwner}, | 7 | ast::{self, AstNode, GenericParamsOwner, ModuleItemOwner, NameOwner}, |
8 | match_ast, | 8 | match_ast, |
diff --git a/crates/ra_hir_expand/src/builtin_macro.rs b/crates/ra_hir_expand/src/builtin_macro.rs index 9f50569dc..24dc0b4e7 100644 --- a/crates/ra_hir_expand/src/builtin_macro.rs +++ b/crates/ra_hir_expand/src/builtin_macro.rs | |||
@@ -6,8 +6,8 @@ use crate::{ | |||
6 | 6 | ||
7 | use either::Either; | 7 | use either::Either; |
8 | use mbe::parse_to_token_tree; | 8 | use mbe::parse_to_token_tree; |
9 | use parser::FragmentKind; | ||
9 | use ra_db::FileId; | 10 | use ra_db::FileId; |
10 | use ra_parser::FragmentKind; | ||
11 | use ra_syntax::ast::{self, AstToken, HasStringValue}; | 11 | use ra_syntax::ast::{self, AstToken, HasStringValue}; |
12 | 12 | ||
13 | macro_rules! register_builtin { | 13 | macro_rules! register_builtin { |
diff --git a/crates/ra_hir_expand/src/db.rs b/crates/ra_hir_expand/src/db.rs index f30528b3e..d83c391a9 100644 --- a/crates/ra_hir_expand/src/db.rs +++ b/crates/ra_hir_expand/src/db.rs | |||
@@ -3,8 +3,8 @@ | |||
3 | use std::sync::Arc; | 3 | use std::sync::Arc; |
4 | 4 | ||
5 | use mbe::{ExpandResult, MacroRules}; | 5 | use mbe::{ExpandResult, MacroRules}; |
6 | use parser::FragmentKind; | ||
6 | use ra_db::{salsa, SourceDatabase}; | 7 | use ra_db::{salsa, SourceDatabase}; |
7 | use ra_parser::FragmentKind; | ||
8 | use ra_syntax::{algo::diff, AstNode, GreenNode, Parse, SyntaxKind::*, SyntaxNode}; | 8 | use ra_syntax::{algo::diff, AstNode, GreenNode, Parse, SyntaxKind::*, SyntaxNode}; |
9 | 9 | ||
10 | use crate::{ | 10 | use crate::{ |
diff --git a/crates/ra_hir_expand/src/eager.rs b/crates/ra_hir_expand/src/eager.rs index 302d2b3e0..dc83044ea 100644 --- a/crates/ra_hir_expand/src/eager.rs +++ b/crates/ra_hir_expand/src/eager.rs | |||
@@ -25,8 +25,8 @@ use crate::{ | |||
25 | EagerCallLoc, EagerMacroId, InFile, MacroCallId, MacroCallKind, MacroDefId, MacroDefKind, | 25 | EagerCallLoc, EagerMacroId, InFile, MacroCallId, MacroCallKind, MacroDefId, MacroDefKind, |
26 | }; | 26 | }; |
27 | 27 | ||
28 | use parser::FragmentKind; | ||
28 | use ra_db::CrateId; | 29 | use ra_db::CrateId; |
29 | use ra_parser::FragmentKind; | ||
30 | use ra_syntax::{algo::SyntaxRewriter, SyntaxNode}; | 30 | use ra_syntax::{algo::SyntaxRewriter, SyntaxNode}; |
31 | use std::sync::Arc; | 31 | use std::sync::Arc; |
32 | 32 | ||
diff --git a/crates/ra_hir_expand/src/lib.rs b/crates/ra_hir_expand/src/lib.rs index 8bb735fc6..38f0ffff8 100644 --- a/crates/ra_hir_expand/src/lib.rs +++ b/crates/ra_hir_expand/src/lib.rs | |||
@@ -317,7 +317,7 @@ pub struct ExpansionInfo { | |||
317 | } | 317 | } |
318 | 318 | ||
319 | pub use mbe::Origin; | 319 | pub use mbe::Origin; |
320 | use ra_parser::FragmentKind; | 320 | use parser::FragmentKind; |
321 | 321 | ||
322 | impl ExpansionInfo { | 322 | impl ExpansionInfo { |
323 | pub fn call_node(&self) -> Option<InFile<SyntaxNode>> { | 323 | pub fn call_node(&self) -> Option<InFile<SyntaxNode>> { |