diff options
author | Jonas Schievink <[email protected]> | 2020-12-19 00:09:48 +0000 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-12-19 00:10:56 +0000 |
commit | ea5cc8d07ac28a2110b894d154468c3fa46d7040 (patch) | |
tree | d03e228616092a32a75c7c8af624d4e9c7f7fb2f /crates/hir_expand | |
parent | c7b7c37ea5f25806d8c523e309b7ee9be27f2cde (diff) |
More accurate `#[derive]` parsing
This now allows full paths to the derive macro
Diffstat (limited to 'crates/hir_expand')
-rw-r--r-- | crates/hir_expand/src/name.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_expand/src/name.rs b/crates/hir_expand/src/name.rs index 77eeee3fe..2f44876a8 100644 --- a/crates/hir_expand/src/name.rs +++ b/crates/hir_expand/src/name.rs | |||
@@ -152,6 +152,7 @@ pub mod known { | |||
152 | str, | 152 | str, |
153 | // Special names | 153 | // Special names |
154 | macro_rules, | 154 | macro_rules, |
155 | derive, | ||
155 | doc, | 156 | doc, |
156 | cfg_attr, | 157 | cfg_attr, |
157 | // Components of known path (value or mod name) | 158 | // Components of known path (value or mod name) |