Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_expand/src/lib.rs')
| -rw-r--r-- | crates/hir_expand/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_expand/src/lib.rs b/crates/hir_expand/src/lib.rs index 4742cb089e..b6e8f58c2e 100644 --- a/crates/hir_expand/src/lib.rs +++ b/crates/hir_expand/src/lib.rs @@ -122,7 +122,7 @@ pub enum MacroCallKind { }, Derive { ast_id: AstId<ast::Item>, - derive_name: String, + derive_name: Box<str>, /// Syntactical index of the invoking `#[derive]` attribute. /// /// Outer attributes are counted first, then inner attributes. This does not support @@ -131,7 +131,7 @@ pub enum MacroCallKind { }, Attr { ast_id: AstId<ast::Item>, - attr_name: String, + attr_name: Box<str>, attr_args: (tt::Subtree, mbe::TokenMap), /// Syntactical index of the invoking `#[attribute]`. /// |