Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_def/src/keys.rs')
| -rw-r--r-- | crates/hir_def/src/keys.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/keys.rs b/crates/hir_def/src/keys.rs index 07c4d083d6..6a7dc13ff1 100644 --- a/crates/hir_def/src/keys.rs +++ b/crates/hir_def/src/keys.rs @@ -33,7 +33,7 @@ pub const CONST_PARAM: Key<ast::ConstParam, ConstParamId> = Key::new(); pub const MACRO: Key<ast::Macro, MacroDefId> = Key::new(); pub const ATTR_MACRO: Key<ast::Item, MacroCallId> = Key::new(); -pub const DERIVE_MACRO: Key<ast::Attr, Box<[MacroCallId]>> = Key::new(); +pub const DERIVE_MACRO: Key<ast::Attr, Box<[Option<MacroCallId>]>> = Key::new(); /// XXX: AST Nodes and SyntaxNodes have identity equality semantics: nodes are /// equal if they point to exactly the same object. |