summaryrefslogtreecommitdiff
path: root/src/ast/ast.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-03-07 17:12:27 +0800
committerJohn Hodge <tpg@mutabah.net>2016-03-07 17:12:27 +0800
commit8c53ebf221d750a19b0f860584f069b8c3b1733e (patch)
tree544de7b9c384017b012f892e94061672b6320a5c /src/ast/ast.hpp
parent30edd863f98df929326f2706c9a2ed32730a225b (diff)
downloadmrust-8c53ebf221d750a19b0f860584f069b8c3b1733e.tar.gz
AST - Correctly move item attributes
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r--src/ast/ast.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp
index 93652a9a..c0ab4b2f 100644
--- a/src/ast/ast.hpp
+++ b/src/ast/ast.hpp
@@ -551,6 +551,8 @@ TAGGED_UNION_EX(Item, (: public Serialisable), None,
Static e;
))
),
+
+ (, attrs(mv$(x.attrs))), (attrs = mv$(x.attrs);),
(
public:
MetaItems attrs;