diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/expand/crate_tags.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expand/crate_tags.cpp b/src/expand/crate_tags.cpp index 66ad01d4..ace7f3e7 100644 --- a/src/expand/crate_tags.cpp +++ b/src/expand/crate_tags.cpp @@ -16,7 +16,8 @@ public: void handle(const Span& sp, const AST::MetaItem& mi, AST::Crate& crate) const override { if( crate.m_crate_type != AST::Crate::Type::Unknown ) { - ERROR(sp, E0000, "Multiple #![crate_type] attributes"); + //ERROR(sp, E0000, "Multiple #![crate_type] attributes"); + return ; } if( !mi.has_string() ) { ERROR(sp, E0000, "#![crate_type] requires a string argument"); |