You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of writing #[derive(Clone, Debug)] can we do something like #Clone#Debug. Modern syntax for modern programming language. Right now #[derive(Clone, Debug)] is too verbal.
The text was updated successfully, but these errors were encountered:
Then what do you suggest to happen to attributes?
Nevertheless, I agree that attribute macros and derive macros do not need an explicit separation. Derive macros could totally be implemented as attribute macros, just with the guarantee that they do not modify the annotated item itself, but this is not necessarily something that the user cares.
Instead of writing #[derive(Clone, Debug)] can we do something like #Clone#Debug. Modern syntax for modern programming language. Right now #[derive(Clone, Debug)] is too verbal.
The text was updated successfully, but these errors were encountered: