summaryrefslogtreecommitdiff
path: root/src/hir_conv/bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir_conv/bind.cpp')
-rw-r--r--src/hir_conv/bind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir_conv/bind.cpp b/src/hir_conv/bind.cpp
index d9527ccd..18e97a72 100644
--- a/src/hir_conv/bind.cpp
+++ b/src/hir_conv/bind.cpp
@@ -210,7 +210,7 @@ namespace {
// Unit-like struct match or a constant
TU_MATCH_DEF( ::HIR::ValueItem, (it->second->ent), (e2),
(
- ERROR(sp, E0000, "Value pattern pointing to unexpected type")
+ ERROR(sp, E0000, "Value pattern " << pat << " pointing to unexpected item type - " << it->second->ent.tag_str())
),
(Constant,
// Store reference to this item for later use