diff options
author | Jonas Schievink <[email protected]> | 2020-11-24 20:57:51 +0000 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-11-24 20:57:51 +0000 |
commit | 9559bce311c3b6b7009b9cd09e52c75497c87035 (patch) | |
tree | f28435190d7f830acb6335da5eeaa83a458b5e2a /crates/ide | |
parent | f9d0d511011b7071c621ac3f7c64c4aaec7f2dfb (diff) |
Rename `parse_macro` to `parse_macro_expansion`
This does not parse macros, it expands a macro and parses the *result*
Diffstat (limited to 'crates/ide')
-rw-r--r-- | crates/ide/src/status.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/status.rs b/crates/ide/src/status.rs index 8b4a1652e..b75f88ed9 100644 --- a/crates/ide/src/status.rs +++ b/crates/ide/src/status.rs | |||
@@ -19,7 +19,7 @@ fn syntax_tree_stats(db: &RootDatabase) -> SyntaxTreeStats { | |||
19 | ide_db::base_db::ParseQuery.in_db(db).entries::<SyntaxTreeStats>() | 19 | ide_db::base_db::ParseQuery.in_db(db).entries::<SyntaxTreeStats>() |
20 | } | 20 | } |
21 | fn macro_syntax_tree_stats(db: &RootDatabase) -> SyntaxTreeStats { | 21 | fn macro_syntax_tree_stats(db: &RootDatabase) -> SyntaxTreeStats { |
22 | hir::db::ParseMacroQuery.in_db(db).entries::<SyntaxTreeStats>() | 22 | hir::db::ParseMacroExpansionQuery.in_db(db).entries::<SyntaxTreeStats>() |
23 | } | 23 | } |
24 | 24 | ||
25 | // Feature: Status | 25 | // Feature: Status |