aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_def/src/nameres')
-rw-r--r--crates/ra_hir_def/src/nameres/raw.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir_def/src/nameres/raw.rs b/crates/ra_hir_def/src/nameres/raw.rs
index 5196b67ca..de4e706c2 100644
--- a/crates/ra_hir_def/src/nameres/raw.rs
+++ b/crates/ra_hir_def/src/nameres/raw.rs
@@ -7,10 +7,10 @@
7 7
8use std::{ops::Index, sync::Arc}; 8use std::{ops::Index, sync::Arc};
9 9
10use either::Either;
10use hir_expand::{ 11use hir_expand::{
11 ast_id_map::AstIdMap, 12 ast_id_map::AstIdMap,
12 db::AstDatabase, 13 db::AstDatabase,
13 either::Either,
14 hygiene::Hygiene, 14 hygiene::Hygiene,
15 name::{AsName, Name}, 15 name::{AsName, Name},
16}; 16};
@@ -324,7 +324,7 @@ impl RawItemsCollector {
324 is_extern_crate: false, 324 is_extern_crate: false,
325 is_macro_use: false, 325 is_macro_use: false,
326 }; 326 };
327 buf.push((import_data, Either::A(AstPtr::new(use_tree)))); 327 buf.push((import_data, Either::Left(AstPtr::new(use_tree))));
328 }, 328 },
329 ); 329 );
330 for (import_data, ptr) in buf { 330 for (import_data, ptr) in buf {
@@ -355,7 +355,7 @@ impl RawItemsCollector {
355 current_module, 355 current_module,
356 attrs, 356 attrs,
357 import_data, 357 import_data,
358 Either::B(AstPtr::new(&extern_crate)), 358 Either::Right(AstPtr::new(&extern_crate)),
359 ); 359 );
360 } 360 }
361 } 361 }