summaryrefslogtreecommitdiff
path: root/src/expand
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-05-01 14:14:48 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-05-01 14:14:48 +0800
commit65602ce5591a685b01a4ad19a1bbce8854201faf (patch)
tree69c72c4336a71e87129e26750057161715f3471c /src/expand
parent02b79ee261522fc1f1d74dab341c66aa8b634c2d (diff)
downloadmrust-65602ce5591a685b01a4ad19a1bbce8854201faf.tar.gz
Expand #[test] - Fill list after cfg() handling
Diffstat (limited to 'src/expand')
-rw-r--r--src/expand/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/test.cpp b/src/expand/test.cpp
index 01e566ff..12bfbb7d 100644
--- a/src/expand/test.cpp
+++ b/src/expand/test.cpp
@@ -12,7 +12,7 @@
class CTestHandler:
public ExpandDecorator
{
- AttrStage stage() const override { return AttrStage::Pre; }
+ AttrStage stage() const override { return AttrStage::Post; }
void handle(const Span& sp, const AST::MetaItem& mi, ::AST::Crate& crate, const AST::Path& path, AST::Module& mod, AST::Item&i) const override {
if( ! i.is_Function() ) {