Clean up imports a bit

This commit is contained in:
Florian Diebold 2019-02-24 15:12:10 +01:00
parent 043991662c
commit c71740e956
2 changed files with 4 additions and 6 deletions

View file

@ -6,9 +6,9 @@ use ra_syntax::{ast::self, TreeArc, SyntaxNode};
use crate::{
Name, ScopesWithSyntaxMapping, Ty, HirFileId,
type_ref::TypeRef,
nameres::{ModuleScope, lower::ImportId},
HirDatabase, PersistentHirDatabase,
type_ref::TypeRef,
nameres::{ModuleScope, Namespace, lower::ImportId},
expr::{Body, BodySyntaxMapping},
ty::InferenceResult,
adt::{EnumVariantId, StructFieldId, VariantDef},
@ -429,8 +429,6 @@ pub struct Function {
pub(crate) id: FunctionId,
}
pub use crate::{ nameres::Namespace, expr::ScopeEntryWithSyntax};
/// The declared signature of a function.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct FnSignature {