remove forward pointer for name

This commit is contained in:
Aleksey Kladov 2019-10-30 17:19:30 +03:00
parent 16e620c052
commit f8ddef875a
16 changed files with 52 additions and 43 deletions

View file

@ -1,5 +1,6 @@
//! FIXME: write short doc here
use hir_def::name::{self, AsName, Name};
use ra_arena::Arena;
use ra_syntax::{
ast::{
@ -12,7 +13,6 @@ use test_utils::tested_by;
use crate::{
db::HirDatabase,
name::{AsName, Name, SELF_PARAM},
path::GenericArgs,
ty::primitive::{FloatTy, IntTy, UncertainFloatTy, UncertainIntTy},
type_ref::TypeRef,
@ -78,7 +78,7 @@ where
let ptr = AstPtr::new(&self_param);
let param_pat = self.alloc_pat(
Pat::Bind {
name: SELF_PARAM,
name: name::SELF_PARAM,
mode: BindingAnnotation::Unannotated,
subpat: None,
},