diff options
author | Aleksey Kladov <[email protected]> | 2019-05-28 16:07:39 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-05-28 16:07:39 +0100 |
commit | c8bcfe6a05d82e151d459bcd2bd8a7b2742f7a66 (patch) | |
tree | 407e3ec2b7b4a88634e85c113d5e219cc413535a /crates/ra_hir/src/ids.rs | |
parent | 2e3f5af9d49db5732405050e6c5442cb6eeef965 (diff) |
fix syntax errors in tests
Diffstat (limited to 'crates/ra_hir/src/ids.rs')
-rw-r--r-- | crates/ra_hir/src/ids.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ids.rs b/crates/ra_hir/src/ids.rs index 5c3799e95..06b6888f4 100644 --- a/crates/ra_hir/src/ids.rs +++ b/crates/ra_hir/src/ids.rs | |||
@@ -64,7 +64,7 @@ impl HirFileId { | |||
64 | db.check_canceled(); | 64 | db.check_canceled(); |
65 | let _p = profile("parse_or_expand_query"); | 65 | let _p = profile("parse_or_expand_query"); |
66 | match file_id.0 { | 66 | match file_id.0 { |
67 | HirFileIdRepr::File(file_id) => Some(db.parse(file_id).syntax().to_owned()), | 67 | HirFileIdRepr::File(file_id) => Some(db.parse(file_id).tree.syntax().to_owned()), |
68 | HirFileIdRepr::Macro(macro_file) => { | 68 | HirFileIdRepr::Macro(macro_file) => { |
69 | let macro_call_id = macro_file.macro_call_id; | 69 | let macro_call_id = macro_file.macro_call_id; |
70 | let tt = db | 70 | let tt = db |