Precompute macro fragment kind

This commit is contained in:
Jonas Schievink 2021-05-09 01:36:06 +02:00
parent cf4d4f646b
commit 9cf8d325a2
9 changed files with 113 additions and 74 deletions

View file

@ -578,6 +578,7 @@ mod tests {
krate,
kind: MacroCallKind::FnLike {
ast_id: AstId::new(file_id.into(), ast_id_map.ast_id(&macro_call)),
fragment: FragmentKind::Expr,
},
};