From 65602ce5591a685b01a4ad19a1bbce8854201faf Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 1 May 2017 14:14:48 +0800 Subject: Expand #[test] - Fill list after cfg() handling --- src/expand/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() ) { -- cgit v1.2.3