diff options
Diffstat (limited to 'crates/hir_expand/src/builtin_derive.rs')
-rw-r--r-- | crates/hir_expand/src/builtin_derive.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/hir_expand/src/builtin_derive.rs b/crates/hir_expand/src/builtin_derive.rs index a8d267c30..60fd2ebdd 100644 --- a/crates/hir_expand/src/builtin_derive.rs +++ b/crates/hir_expand/src/builtin_derive.rs | |||
@@ -61,8 +61,7 @@ pub fn find_builtin_derive( | |||
61 | let expander = BuiltinDeriveExpander::find_by_name(ident)?; | 61 | let expander = BuiltinDeriveExpander::find_by_name(ident)?; |
62 | Some(MacroDefId { | 62 | Some(MacroDefId { |
63 | krate, | 63 | krate, |
64 | ast_id: Some(ast_id), | 64 | kind: MacroDefKind::BuiltInDerive(expander, ast_id), |
65 | kind: MacroDefKind::BuiltInDerive(expander), | ||
66 | local_inner: false, | 65 | local_inner: false, |
67 | }) | 66 | }) |
68 | } | 67 | } |
@@ -314,8 +313,7 @@ $0 | |||
314 | let loc = MacroCallLoc { | 313 | let loc = MacroCallLoc { |
315 | def: MacroDefId { | 314 | def: MacroDefId { |
316 | krate: CrateId(0), | 315 | krate: CrateId(0), |
317 | ast_id: Some(macro_ast_id), | 316 | kind: MacroDefKind::BuiltInDerive(expander, macro_ast_id), |
318 | kind: MacroDefKind::BuiltInDerive(expander), | ||
319 | local_inner: false, | 317 | local_inner: false, |
320 | }, | 318 | }, |
321 | krate: CrateId(0), | 319 | krate: CrateId(0), |