Rename parse_macro to parse_macro_expansion

This does not parse macros, it expands a macro and parses the *result*
This commit is contained in:
Jonas Schievink 2020-11-24 21:57:51 +01:00
parent f9d0d51101
commit 9559bce311
6 changed files with 9 additions and 9 deletions

View file

@ -144,7 +144,7 @@ impl HirFileId {
let def_tt = loc.def.ast_id?.to_node(db).token_tree()?;
let macro_def = db.macro_def(loc.def)?;
let (parse, exp_map) = db.parse_macro(macro_file).value?;
let (parse, exp_map) = db.parse_macro_expansion(macro_file).value?;
let macro_arg = db.macro_arg(macro_file.macro_call_id)?;
Some(ExpansionInfo {