mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
cleanup hir db imports
This commit is contained in:
parent
787f1206a9
commit
6021a2a83a
24 changed files with 65 additions and 43 deletions
|
@ -3,8 +3,9 @@ use std::sync::Arc;
|
|||
use ra_syntax::ast;
|
||||
|
||||
use crate::{
|
||||
AstDatabase, Const, DefDatabase, Enum, EnumVariant, FieldSource, Function, HasSource,
|
||||
HirDatabase, MacroDef, Module, Static, Struct, StructField, Trait, TypeAlias, Union,
|
||||
db::{AstDatabase, DefDatabase, HirDatabase},
|
||||
Const, Enum, EnumVariant, FieldSource, Function, HasSource, MacroDef, Module, Static, Struct,
|
||||
StructField, Trait, TypeAlias, Union,
|
||||
};
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||
|
|
|
@ -4,9 +4,10 @@ use ra_syntax::{
|
|||
};
|
||||
|
||||
use crate::{
|
||||
ids::AstItemDef, AstDatabase, Const, DefDatabase, Either, Enum, EnumVariant, FieldSource,
|
||||
Function, HasBody, HirDatabase, HirFileId, MacroDef, Module, ModuleSource, Static, Struct,
|
||||
StructField, Trait, TypeAlias, Union,
|
||||
db::{AstDatabase, DefDatabase, HirDatabase},
|
||||
ids::AstItemDef,
|
||||
Const, Either, Enum, EnumVariant, FieldSource, Function, HasBody, HirFileId, MacroDef, Module,
|
||||
ModuleSource, Static, Struct, StructField, Trait, TypeAlias, Union,
|
||||
};
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue