summaryrefslogtreecommitdiff
path: root/src/synexts/derive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/synexts/derive.cpp')
-rw-r--r--src/synexts/derive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synexts/derive.cpp b/src/synexts/derive.cpp
index 17fb0a96..ca0a2c3f 100644
--- a/src/synexts/derive.cpp
+++ b/src/synexts/derive.cpp
@@ -148,7 +148,7 @@ class Decorator_Derive:
public ExpandDecorator
{
public:
- bool expand_before_macros() const override { return false; }
+ AttrStage stage() const override { return AttrStage::LatePost; }
void handle(const AST::MetaItem& attr, AST::Crate& crate, const AST::Path& path, AST::Module& mod, AST::Item& i) const override
{
TU_MATCH_DEF(::AST::Item, (i), (e),