summaryrefslogtreecommitdiff
path: root/src/hir_conv/bind.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-12-04 11:08:28 +0800
committerJohn Hodge <tpg@mutabah.net>2016-12-04 11:08:28 +0800
commit4f33805f7e44c25b23675545d758f0aa82f13f5e (patch)
tree934b2996a392cc55481da26bb2bc9de9be78ddd1 /src/hir_conv/bind.cpp
parent1954cd7d1e8168dce4bd78c1578b0c9f58b27a8e (diff)
downloadmrust-4f33805f7e44c25b23675545d758f0aa82f13f5e.tar.gz
HIR Bind - MIR Cast types
Diffstat (limited to 'src/hir_conv/bind.cpp')
-rw-r--r--src/hir_conv/bind.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir_conv/bind.cpp b/src/hir_conv/bind.cpp
index ab74598e..f4937043 100644
--- a/src/hir_conv/bind.cpp
+++ b/src/hir_conv/bind.cpp
@@ -554,6 +554,7 @@ namespace {
),
(Cast,
H::visit_lvalue(*this, e.val);
+ this->visit_type(e.type);
),
(BinOp,
H::visit_lvalue(*this, e.val_l);