diff options
Diffstat (limited to 'src/expand/std_prelude.cpp')
-rw-r--r-- | src/expand/std_prelude.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/expand/std_prelude.cpp b/src/expand/std_prelude.cpp index a46740a7..4499dc6d 100644 --- a/src/expand/std_prelude.cpp +++ b/src/expand/std_prelude.cpp @@ -7,7 +7,7 @@ class Decorator_NoStd: public ExpandDecorator { public: - AttrStage stage() const override { return AttrStage::EarlyPre; } + AttrStage stage() const override { return AttrStage::Pre; } void handle(const Span& sp, const AST::MetaItem& mi, AST::Crate& crate) const override { if( crate.m_load_std != AST::Crate::LOAD_STD ) { @@ -20,7 +20,7 @@ class Decorator_NoCore: public ExpandDecorator { public: - AttrStage stage() const override { return AttrStage::EarlyPre; } + AttrStage stage() const override { return AttrStage::Pre; } void handle(const Span& sp, const AST::MetaItem& mi, AST::Crate& crate) const override { if( crate.m_load_std != AST::Crate::LOAD_STD ) { @@ -33,14 +33,14 @@ public: // public ExpandDecorator //{ //public: -// AttrStage stage() const override { return AttrStage::EarlyPre; } +// AttrStage stage() const override { return AttrStage::Pre; } //}; class Decorator_NoPrelude: public ExpandDecorator { public: - AttrStage stage() const override { return AttrStage::EarlyPre; } + AttrStage stage() const override { return AttrStage::Pre; } 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_Module() ) { |