diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-28 20:24:31 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-28 20:24:31 +0800 |
commit | f749f53986f7a0a78949d62d7ee39905899c61d5 (patch) | |
tree | c0e975c05da3d887ef8086aca17e345d3d37bef7 /src/hir_conv/bind.cpp | |
parent | 47026f277478ffbadb5daa2d85b4600cbec52c9e (diff) | |
download | mrust-f749f53986f7a0a78949d62d7ee39905899c61d5.tar.gz |
Resolve Absolute - Fix incorrect lookup mode for MaybeBind
Diffstat (limited to 'src/hir_conv/bind.cpp')
-rw-r--r-- | src/hir_conv/bind.cpp | 2 |
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 |