From ea5cc8d07ac28a2110b894d154468c3fa46d7040 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Sat, 19 Dec 2020 01:09:48 +0100 Subject: More accurate `#[derive]` parsing This now allows full paths to the derive macro --- crates/hir_expand/src/name.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/hir_expand') 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 { str, // Special names macro_rules, + derive, doc, cfg_attr, // Components of known path (value or mod name) -- cgit v1.2.3