diff options
author | Aleksey Kladov <[email protected]> | 2019-10-30 15:50:10 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-30 15:50:10 +0000 |
commit | b05d6e53fb0e9a008dc2e1220b1201818e63ed2d (patch) | |
tree | b3207114d918b50b17adc1db589454fed266eed7 /crates/ra_hir_def/src/hygiene.rs | |
parent | 0bc7d285189caaffc13e4d6856baf895f72ed80c (diff) |
push either to hir_expand
Diffstat (limited to 'crates/ra_hir_def/src/hygiene.rs')
-rw-r--r-- | crates/ra_hir_def/src/hygiene.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/ra_hir_def/src/hygiene.rs b/crates/ra_hir_def/src/hygiene.rs index e1ae58a3b..f51c46fcb 100644 --- a/crates/ra_hir_def/src/hygiene.rs +++ b/crates/ra_hir_def/src/hygiene.rs | |||
@@ -4,14 +4,12 @@ | |||
4 | //! this moment, this is horribly incomplete and handles only `$crate`. | 4 | //! this moment, this is horribly incomplete and handles only `$crate`. |
5 | // Should this be moved to `hir_expand`? Seems like it. | 5 | // Should this be moved to `hir_expand`? Seems like it. |
6 | 6 | ||
7 | use hir_expand::either::Either; | ||
7 | use hir_expand::{db::AstDatabase, HirFileId}; | 8 | use hir_expand::{db::AstDatabase, HirFileId}; |
8 | use ra_db::CrateId; | 9 | use ra_db::CrateId; |
9 | use ra_syntax::ast; | 10 | use ra_syntax::ast; |
10 | 11 | ||
11 | use crate::{ | 12 | use crate::name::{AsName, Name}; |
12 | either::Either, | ||
13 | name::{AsName, Name}, | ||
14 | }; | ||
15 | 13 | ||
16 | #[derive(Debug)] | 14 | #[derive(Debug)] |
17 | pub struct Hygiene { | 15 | pub struct Hygiene { |