diff options
author | Aleksey Kladov <[email protected]> | 2019-10-30 16:10:53 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-30 16:10:53 +0000 |
commit | ab559f170ee02e3bdd9aeeb55933bb143b520c34 (patch) | |
tree | e12f4195dc8064d15898d73e8aa8da45846ec926 /crates/ra_hir | |
parent | 872ac566bfc6cf43ac55354cf5223b962dbc1d92 (diff) |
move hygiene to hir_expand
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/expr/lower.rs | 7 | ||||
-rw-r--r-- | crates/ra_hir/src/impl_block.rs | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/crates/ra_hir/src/expr/lower.rs b/crates/ra_hir/src/expr/lower.rs index 241ad68fd..6463dd65e 100644 --- a/crates/ra_hir/src/expr/lower.rs +++ b/crates/ra_hir/src/expr/lower.rs | |||
@@ -1,7 +1,10 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! FIXME: write short doc here |
2 | 2 | ||
3 | use hir_def::{hygiene::Hygiene, path::GenericArgs, type_ref::TypeRef}; | 3 | use hir_def::{path::GenericArgs, type_ref::TypeRef}; |
4 | use hir_expand::name::{self, AsName, Name}; | 4 | use hir_expand::{ |
5 | hygiene::Hygiene, | ||
6 | name::{self, AsName, Name}, | ||
7 | }; | ||
5 | use ra_arena::Arena; | 8 | use ra_arena::Arena; |
6 | use ra_syntax::{ | 9 | use ra_syntax::{ |
7 | ast::{ | 10 | ast::{ |
diff --git a/crates/ra_hir/src/impl_block.rs b/crates/ra_hir/src/impl_block.rs index 9e4a40017..b1a014074 100644 --- a/crates/ra_hir/src/impl_block.rs +++ b/crates/ra_hir/src/impl_block.rs | |||
@@ -3,7 +3,8 @@ | |||
3 | use rustc_hash::FxHashMap; | 3 | use rustc_hash::FxHashMap; |
4 | use std::sync::Arc; | 4 | use std::sync::Arc; |
5 | 5 | ||
6 | use hir_def::{attr::Attr, hygiene::Hygiene, type_ref::TypeRef}; | 6 | use hir_def::{attr::Attr, type_ref::TypeRef}; |
7 | use hir_expand::hygiene::Hygiene; | ||
7 | use ra_arena::{impl_arena_id, map::ArenaMap, Arena, RawId}; | 8 | use ra_arena::{impl_arena_id, map::ArenaMap, Arena, RawId}; |
8 | use ra_cfg::CfgOptions; | 9 | use ra_cfg::CfgOptions; |
9 | use ra_syntax::{ | 10 | use ra_syntax::{ |