summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-05-20 11:19:18 +0800
committerJohn Hodge <tpg@mutabah.net>2016-05-20 11:19:18 +0800
commit19b8d4012bf6d81c47f7eab66a7e38d05d7af718 (patch)
tree9348cf498fe1b730571142ac910bdbe774935302 /src/hir/from_ast.cpp
parente0d932dbc21555ef47e33b0d13aeb3dde8e42c7e (diff)
downloadmrust-19b8d4012bf6d81c47f7eab66a7e38d05d7af718.tar.gz
Expand - Fix desugaring of `for` to be closer to rustc's
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 {