mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
cleanup hir db imports
This commit is contained in:
parent
787f1206a9
commit
6021a2a83a
24 changed files with 65 additions and 43 deletions
|
@ -9,12 +9,13 @@ use ra_syntax::{
|
|||
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,
|
||||
DefWithBody, Either, HirDatabase, HirFileId, MacroCallLoc, MacroFileKind, Mutability, Path,
|
||||
Resolver, Source,
|
||||
DefWithBody, Either, HirFileId, MacroCallLoc, MacroFileKind, Mutability, Path, Resolver,
|
||||
Source,
|
||||
};
|
||||
|
||||
use super::{
|
||||
|
|
|
@ -4,8 +4,9 @@ use ra_arena::{impl_arena_id, Arena, RawId};
|
|||
use rustc_hash::FxHashMap;
|
||||
|
||||
use crate::{
|
||||
db::HirDatabase,
|
||||
expr::{Body, Expr, ExprId, Pat, PatId, Statement},
|
||||
DefWithBody, HirDatabase, Name,
|
||||
DefWithBody, Name,
|
||||
};
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
|
|
|
@ -5,12 +5,13 @@ use rustc_hash::FxHashSet;
|
|||
|
||||
use crate::{
|
||||
adt::AdtDef,
|
||||
db::HirDatabase,
|
||||
diagnostics::{DiagnosticSink, MissingFields, MissingOkInTailExpr},
|
||||
expr::AstPtr,
|
||||
name,
|
||||
path::{PathKind, PathSegment},
|
||||
ty::{ApplicationTy, InferenceResult, Ty, TypeCtor},
|
||||
Function, HirDatabase, ModuleDef, Name, Path, PerNs, Resolution,
|
||||
Function, ModuleDef, Name, Path, PerNs, Resolution,
|
||||
};
|
||||
|
||||
use super::{Expr, ExprId, RecordLitField};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue