aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_expand/src')
-rw-r--r--crates/ra_hir_expand/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_hir_expand/src/lib.rs b/crates/ra_hir_expand/src/lib.rs
index 437d73e94..6c2cc3af3 100644
--- a/crates/ra_hir_expand/src/lib.rs
+++ b/crates/ra_hir_expand/src/lib.rs
@@ -226,6 +226,8 @@ impl<N: AstNode> AstId<N> {
226#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash)] 226#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash)]
227pub struct Source<T> { 227pub struct Source<T> {
228 pub file_id: HirFileId, 228 pub file_id: HirFileId,
229 // FIXME: this stores all kind of things, not only `ast`.
230 // There should be a better name...
229 pub ast: T, 231 pub ast: T,
230} 232}
231 233