summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hir/from_ast.cpp3
-rw-r--r--src/resolve/absolute.cpp4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 49e5a4b6..32561a76 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -1155,6 +1155,9 @@ namespace {
(None,
// Ignore.
),
+ (MacroInv,
+ // Ignore.
+ ),
(Type,
bool is_sized = true;
::std::vector< ::HIR::TraitPath> trait_bounds;
diff --git a/src/resolve/absolute.cpp b/src/resolve/absolute.cpp
index 7fa08aaf..d4147e92 100644
--- a/src/resolve/absolute.cpp
+++ b/src/resolve/absolute.cpp
@@ -1933,7 +1933,9 @@ void Resolve_Absolute_ImplItems(Context& item_context, ::AST::NamedList< ::AST:
{
TU_MATCH(AST::Item, (i.data), (e),
(None, ),
- (MacroInv, BUG(i.data.span, "Resolve_Absolute_ImplItems - MacroInv");),
+ (MacroInv,
+ //BUG(i.data.span, "Resolve_Absolute_ImplItems - MacroInv");
+ ),
(ExternBlock, BUG(i.data.span, "Resolve_Absolute_ImplItems - " << i.data.tag_str());),
(Impl, BUG(i.data.span, "Resolve_Absolute_ImplItems - " << i.data.tag_str());),
(NegImpl, BUG(i.data.span, "Resolve_Absolute_ImplItems - " << i.data.tag_str());),