mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Remove unnecessary is_derive field from MacroCallKind::Attr
This commit is contained in:
parent
5750d81e30
commit
cebc018e2a
7 changed files with 75 additions and 79 deletions
|
@ -984,7 +984,6 @@ fn attr_macro_as_call_id(
|
|||
macro_attr: &Attr,
|
||||
krate: CrateId,
|
||||
def: MacroDefId,
|
||||
is_derive: bool,
|
||||
) -> MacroCallId {
|
||||
let arg = match macro_attr.input.as_deref() {
|
||||
Some(AttrInput::TokenTree(tt, map)) => (
|
||||
|
@ -1005,7 +1004,6 @@ fn attr_macro_as_call_id(
|
|||
ast_id: item_attr.ast_id,
|
||||
attr_args: Arc::new(arg),
|
||||
invoc_attr_index: macro_attr.id,
|
||||
is_derive,
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue