Skip to content

Commit 1a2c1a3

Browse files
committed
Move mention of derive_alias to future work
1 parent ded1ced commit 1a2c1a3

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

text/3698-declarative-derive-macros.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ syntax as a proc macro.
3030

3131
The derive feature of the crate has [various uses in the
3232
ecosystem](https://github.com/search?q=macro_rules_attribute%3A%3Aderive&type=code).
33-
That crate likewise offers a `derive_alias` mechanism, which could similarly be
34-
implemented using exclusively declarative macros given the feature proposed in
35-
this RFC.
3633

3734
# Guide-level explanation
3835
[guide-level-explanation]: #guide-level-explanation
@@ -203,9 +200,6 @@ syntax as a proc macro.
203200

204201
The derive feature of the crate has [various uses in the
205202
ecosystem](https://github.com/search?q=macro_rules_attribute%3A%3Aderive&type=code).
206-
That crate likewise offers a `derive_alias` mechanism, which could similarly be
207-
implemented using exclusively declarative macros given the feature proposed in
208-
this RFC.
209203

210204
# Unresolved questions
211205
[unresolved-questions]: #unresolved-questions
@@ -233,7 +227,9 @@ requests arise.
233227
# Future possibilities
234228
[future-possibilities]: #future-possibilities
235229

236-
We should provide a way for derive macros to invoke other derive macros.
230+
We should provide a way for derive macros to invoke other derive macros. The
231+
`macro_rules_attribute` crate includes a `derive_alias` mechanism, which we
232+
could trivially implement given a means of invoking another derive macro.
237233

238234
We should provide a means to perform a `derive` on a struct without being
239235
directly attached to that struct. (This would also potentially require

0 commit comments

Comments
 (0)