mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Clean up imports a bit
This commit is contained in:
parent
043991662c
commit
c71740e956
2 changed files with 4 additions and 6 deletions
|
@ -6,9 +6,9 @@ use ra_syntax::{ast::self, TreeArc, SyntaxNode};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
Name, ScopesWithSyntaxMapping, Ty, HirFileId,
|
Name, ScopesWithSyntaxMapping, Ty, HirFileId,
|
||||||
type_ref::TypeRef,
|
|
||||||
nameres::{ModuleScope, lower::ImportId},
|
|
||||||
HirDatabase, PersistentHirDatabase,
|
HirDatabase, PersistentHirDatabase,
|
||||||
|
type_ref::TypeRef,
|
||||||
|
nameres::{ModuleScope, Namespace, lower::ImportId},
|
||||||
expr::{Body, BodySyntaxMapping},
|
expr::{Body, BodySyntaxMapping},
|
||||||
ty::InferenceResult,
|
ty::InferenceResult,
|
||||||
adt::{EnumVariantId, StructFieldId, VariantDef},
|
adt::{EnumVariantId, StructFieldId, VariantDef},
|
||||||
|
@ -429,8 +429,6 @@ pub struct Function {
|
||||||
pub(crate) id: FunctionId,
|
pub(crate) id: FunctionId,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub use crate::{ nameres::Namespace, expr::ScopeEntryWithSyntax};
|
|
||||||
|
|
||||||
/// The declared signature of a function.
|
/// The declared signature of a function.
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub struct FnSignature {
|
pub struct FnSignature {
|
||||||
|
|
|
@ -59,7 +59,7 @@ pub use self::{
|
||||||
impl_block::{ImplBlock, ImplItem},
|
impl_block::{ImplBlock, ImplItem},
|
||||||
docs::{Docs, Documentation},
|
docs::{Docs, Documentation},
|
||||||
adt::AdtDef,
|
adt::AdtDef,
|
||||||
expr::{ExprScopes, ScopesWithSyntaxMapping},
|
expr::{ExprScopes, ScopesWithSyntaxMapping, ScopeEntryWithSyntax},
|
||||||
resolve::{Resolver, Resolution},
|
resolve::{Resolver, Resolution},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ pub use self::code_model_api::{
|
||||||
Def,
|
Def,
|
||||||
Module, ModuleDef, ModuleSource, Problem,
|
Module, ModuleDef, ModuleSource, Problem,
|
||||||
Struct, Enum, EnumVariant,
|
Struct, Enum, EnumVariant,
|
||||||
Function, FnSignature, ScopeEntryWithSyntax,
|
Function, FnSignature,
|
||||||
StructField, FieldSource,
|
StructField, FieldSource,
|
||||||
Static, Const,
|
Static, Const,
|
||||||
Trait, Type,
|
Trait, Type,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue