aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/expr/lower.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/expr/lower.rs')
-rw-r--r--crates/ra_hir/src/expr/lower.rs4
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
3use hir_def::name::{self, AsName, Name};
3use ra_arena::Arena; 4use ra_arena::Arena;
4use ra_syntax::{ 5use ra_syntax::{
5 ast::{ 6 ast::{
@@ -12,7 +13,6 @@ use test_utils::tested_by;
12 13
13use crate::{ 14use 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 },