diff options
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 1 | ||||
-rw-r--r-- | crates/ra_hir/src/source_id.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index 55d1298cf..081974e2b 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -68,6 +68,7 @@ pub use self::{ | |||
68 | source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, | 68 | source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, |
69 | source_id::{AstIdMap, ErasedFileAstId}, | 69 | source_id::{AstIdMap, ErasedFileAstId}, |
70 | ty::{display::HirDisplay, ApplicationTy, CallableDef, Substs, TraitRef, Ty, TypeCtor}, | 70 | ty::{display::HirDisplay, ApplicationTy, CallableDef, Substs, TraitRef, Ty, TypeCtor}, |
71 | type_ref::Mutability, | ||
71 | }; | 72 | }; |
72 | 73 | ||
73 | pub use self::code_model::{ | 74 | pub use self::code_model::{ |
diff --git a/crates/ra_hir/src/source_id.rs b/crates/ra_hir/src/source_id.rs index 324b79824..6cdb90141 100644 --- a/crates/ra_hir/src/source_id.rs +++ b/crates/ra_hir/src/source_id.rs | |||
@@ -52,7 +52,7 @@ impl<N: AstNode> AstId<N> { | |||
52 | #[derive(Debug)] | 52 | #[derive(Debug)] |
53 | pub(crate) struct FileAstId<N: AstNode> { | 53 | pub(crate) struct FileAstId<N: AstNode> { |
54 | raw: ErasedFileAstId, | 54 | raw: ErasedFileAstId, |
55 | _ty: PhantomData<N>, | 55 | _ty: PhantomData<fn() -> N>, |
56 | } | 56 | } |
57 | 57 | ||
58 | impl<N: AstNode> Clone for FileAstId<N> { | 58 | impl<N: AstNode> Clone for FileAstId<N> { |