remove forward pointer to Path

This commit is contained in:
Aleksey Kladov 2019-10-30 17:24:36 +03:00
parent f8ddef875a
commit e564334320
12 changed files with 27 additions and 20 deletions

View file

@ -1,6 +1,9 @@
//! FIXME: write short doc here
use hir_def::name::{self, AsName, Name};
use hir_def::{
name::{self, AsName, Name},
path::GenericArgs,
};
use ra_arena::Arena;
use ra_syntax::{
ast::{
@ -13,7 +16,6 @@ use test_utils::tested_by;
use crate::{
db::HirDatabase,
path::GenericArgs,
ty::primitive::{FloatTy, IntTy, UncertainFloatTy, UncertainIntTy},
type_ref::TypeRef,
AstId, DefWithBody, Either, HirFileId, MacroCallLoc, MacroFileKind, Mutability, Path, Resolver,

View file

@ -2,6 +2,7 @@
use std::sync::Arc;
use hir_def::path::known;
use ra_syntax::ast;
use rustc_hash::FxHashSet;
@ -9,7 +10,6 @@ use crate::{
db::HirDatabase,
diagnostics::{DiagnosticSink, MissingFields, MissingOkInTailExpr},
expr::AstPtr,
path::known,
ty::{ApplicationTy, InferenceResult, Ty, TypeCtor},
Adt, Function, Name, Path,
};