mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
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:
parent
f9d0d51101
commit
9559bce311
6 changed files with 9 additions and 9 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue