aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/code_model_api.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/code_model_api.rs')
-rw-r--r--crates/ra_hir/src/code_model_api.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/ra_hir/src/code_model_api.rs b/crates/ra_hir/src/code_model_api.rs
index 9d0b40ce0..0779a08a9 100644
--- a/crates/ra_hir/src/code_model_api.rs
+++ b/crates/ra_hir/src/code_model_api.rs
@@ -6,9 +6,9 @@ use ra_syntax::{ast::self, TreeArc, SyntaxNode};
6 6
7use crate::{ 7use crate::{
8 Name, ScopesWithSyntaxMapping, Ty, HirFileId, 8 Name, ScopesWithSyntaxMapping, Ty, HirFileId,
9 type_ref::TypeRef,
10 nameres::{ModuleScope, lower::ImportId},
11 HirDatabase, PersistentHirDatabase, 9 HirDatabase, PersistentHirDatabase,
10 type_ref::TypeRef,
11 nameres::{ModuleScope, Namespace, lower::ImportId},
12 expr::{Body, BodySyntaxMapping}, 12 expr::{Body, BodySyntaxMapping},
13 ty::InferenceResult, 13 ty::InferenceResult,
14 adt::{EnumVariantId, StructFieldId, VariantDef}, 14 adt::{EnumVariantId, StructFieldId, VariantDef},
@@ -429,8 +429,6 @@ pub struct Function {
429 pub(crate) id: FunctionId, 429 pub(crate) id: FunctionId,
430} 430}
431 431
432pub use crate::{ nameres::Namespace, expr::ScopeEntryWithSyntax};
433
434/// The declared signature of a function. 432/// The declared signature of a function.
435#[derive(Debug, Clone, PartialEq, Eq)] 433#[derive(Debug, Clone, PartialEq, Eq)]
436pub struct FnSignature { 434pub struct FnSignature {