mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Precompute macro fragment kind
This commit is contained in:
parent
cf4d4f646b
commit
9cf8d325a2
9 changed files with 113 additions and 74 deletions
|
@ -578,6 +578,7 @@ mod tests {
|
|||
krate,
|
||||
kind: MacroCallKind::FnLike {
|
||||
ast_id: AstId::new(file_id.into(), ast_id_map.ast_id(¯o_call)),
|
||||
fragment: FragmentKind::Expr,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue