diff options
Diffstat (limited to 'crates/ra_hir/src/expr/lower.rs')
-rw-r--r-- | crates/ra_hir/src/expr/lower.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir/src/expr/lower.rs b/crates/ra_hir/src/expr/lower.rs index b3a9a2e6b..cf8a41b1e 100644 --- a/crates/ra_hir/src/expr/lower.rs +++ b/crates/ra_hir/src/expr/lower.rs | |||
@@ -1,5 +1,6 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! FIXME: write short doc here |
2 | 2 | ||
3 | use hir_def::name::{self, AsName, Name}; | ||
3 | use ra_arena::Arena; | 4 | use ra_arena::Arena; |
4 | use ra_syntax::{ | 5 | use ra_syntax::{ |
5 | ast::{ | 6 | ast::{ |
@@ -12,7 +13,6 @@ use test_utils::tested_by; | |||
12 | 13 | ||
13 | use crate::{ | 14 | use crate::{ |
14 | db::HirDatabase, | 15 | db::HirDatabase, |
15 | name::{AsName, Name, SELF_PARAM}, | ||
16 | path::GenericArgs, | 16 | path::GenericArgs, |
17 | ty::primitive::{FloatTy, IntTy, UncertainFloatTy, UncertainIntTy}, | 17 | ty::primitive::{FloatTy, IntTy, UncertainFloatTy, UncertainIntTy}, |
18 | type_ref::TypeRef, | 18 | type_ref::TypeRef, |
@@ -78,7 +78,7 @@ where | |||
78 | let ptr = AstPtr::new(&self_param); | 78 | let ptr = AstPtr::new(&self_param); |
79 | let param_pat = self.alloc_pat( | 79 | let param_pat = self.alloc_pat( |
80 | Pat::Bind { | 80 | Pat::Bind { |
81 | name: SELF_PARAM, | 81 | name: name::SELF_PARAM, |
82 | mode: BindingAnnotation::Unannotated, | 82 | mode: BindingAnnotation::Unannotated, |
83 | subpat: None, | 83 | subpat: None, |
84 | }, | 84 | }, |