mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Use named fields in MacroCallKind
This commit is contained in:
parent
5f279d57f0
commit
86b7861612
7 changed files with 40 additions and 33 deletions
|
@ -566,10 +566,9 @@ mod tests {
|
|||
let loc = MacroCallLoc {
|
||||
def,
|
||||
krate,
|
||||
kind: MacroCallKind::FnLike(AstId::new(
|
||||
file_id.into(),
|
||||
ast_id_map.ast_id(¯o_call),
|
||||
)),
|
||||
kind: MacroCallKind::FnLike {
|
||||
ast_id: AstId::new(file_id.into(), ast_id_map.ast_id(¯o_call)),
|
||||
},
|
||||
};
|
||||
|
||||
let id: MacroCallId = db.intern_macro(loc).into();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue