Closed dmitrii-ubskii closed 3 months ago
We add the macro_rules_attribute crate, which allows us to use a declarative macro in attribute position:
macro_rules_attribute
macro_rules! decorator { /* … */ } #[apply(decorator)] struct Foo { /* … */ }
Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.
Trivial Change
Code
Architecture
What is the goal of this PR?
We add the
macro_rules_attribute
crate, which allows us to use a declarative macro in attribute position: