summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r--src/hir/from_ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 9d603b39..8a611d33 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -161,7 +161,7 @@
TU_MATCH_DEF(::AST::PathBinding, (e.path.binding()), (pb),
(
- BUG(Span(), "Encountered StructTuple pattern not pointing to a enum variant or a struct");
+ BUG(Span(), "Encountered StructTuple pattern not pointing to a enum variant or a struct - " << e.path);
),
(EnumVar,
return ::HIR::Pattern {