mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
add expand log
This commit is contained in:
parent
f0b7c02f16
commit
f1350dd93c
2 changed files with 49 additions and 0 deletions
|
@ -340,6 +340,8 @@ fn parse_macro_with_arg(
|
|||
None => return ExpandResult { value: None, err: result.err },
|
||||
};
|
||||
|
||||
log::debug!("expanded = {}", tt.as_debug_string());
|
||||
|
||||
let fragment_kind = to_fragment_kind(db, macro_call_id);
|
||||
|
||||
let (parse, rev_token_map) = match mbe::token_tree_to_syntax_node(&tt, fragment_kind) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue