mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
fix syntax errors in tests
This commit is contained in:
parent
2e3f5af9d4
commit
c8bcfe6a05
7 changed files with 137 additions and 121 deletions
|
@ -64,7 +64,7 @@ impl HirFileId {
|
|||
db.check_canceled();
|
||||
let _p = profile("parse_or_expand_query");
|
||||
match file_id.0 {
|
||||
HirFileIdRepr::File(file_id) => Some(db.parse(file_id).syntax().to_owned()),
|
||||
HirFileIdRepr::File(file_id) => Some(db.parse(file_id).tree.syntax().to_owned()),
|
||||
HirFileIdRepr::Macro(macro_file) => {
|
||||
let macro_call_id = macro_file.macro_call_id;
|
||||
let tt = db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue