mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Shrink MacroCallLoc
This commit is contained in:
parent
87e0bbc534
commit
abe3177445
7 changed files with 69 additions and 45 deletions
|
@ -1410,10 +1410,10 @@ fn macro_call_as_call_id_with_eager(
|
|||
})
|
||||
}
|
||||
_ if def.is_fn_like() => ExpandResult {
|
||||
value: Some(def.as_lazy_macro(
|
||||
value: Some(def.make_call(
|
||||
db,
|
||||
krate,
|
||||
MacroCallKind::FnLike { ast_id: call.ast_id, expand_to },
|
||||
MacroCallKind::FnLike { ast_id: call.ast_id, expand_to, eager: None },
|
||||
call_site,
|
||||
)),
|
||||
err: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue