summaryrefslogtreecommitdiff
path: root/src/expand/derive.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2019-10-06 15:21:42 +0800
committerJohn Hodge <tpg@ucc.asn.au>2019-10-06 15:21:42 +0800
commit16bd8829c108000e0d52d76329b88ab9e6a34e12 (patch)
tree12ebefa87f9c2b16f25dbc6988706383caff1bc1 /src/expand/derive.cpp
parenta110ad4d5ea36b33ec4e0045513baf952f297f6f (diff)
downloadmrust-16bd8829c108000e0d52d76329b88ab9e6a34e12.tar.gz
Expand - Hand attributes to item attribute handlers
Diffstat (limited to 'src/expand/derive.cpp')
-rw-r--r--src/expand/derive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/derive.cpp b/src/expand/derive.cpp
index d92cbe79..f67a761d 100644
--- a/src/expand/derive.cpp
+++ b/src/expand/derive.cpp
@@ -2184,7 +2184,7 @@ class Decorator_Derive:
{
public:
AttrStage stage() const override { return AttrStage::Post; }
- void handle(const Span& sp, const AST::Attribute& attr, ::AST::Crate& crate, const AST::Path& path, AST::Module& mod, AST::Item& i) const override
+ void handle(const Span& sp, const AST::Attribute& attr, ::AST::Crate& crate, const AST::Path& path, AST::Module& mod, slice<const AST::Attribute> attrs, AST::Item& i) const override
{
TU_MATCH_DEF(::AST::Item, (i), (e),
(