summaryrefslogtreecommitdiff
path: root/src/hir_conv/bind.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-09-08 12:01:00 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-09-08 12:01:00 +0800
commita901b985312f70e55834445038c3158af16102b9 (patch)
treeaa5883bdfccd7c0414ed8a3c54f3d8cf004500a8 /src/hir_conv/bind.cpp
parentfb18453b184e16be703e543847b233a614fb39de (diff)
downloadmrust-a901b985312f70e55834445038c3158af16102b9.tar.gz
Typecheck - Various tweaks from librustdoc
Diffstat (limited to 'src/hir_conv/bind.cpp')
-rw-r--r--src/hir_conv/bind.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hir_conv/bind.cpp b/src/hir_conv/bind.cpp
index beac3b84..364b3a76 100644
--- a/src/hir_conv/bind.cpp
+++ b/src/hir_conv/bind.cpp
@@ -517,7 +517,7 @@ namespace {
(Bytes, ),
(StaticString, ), // String
(Const,
- // TODO: Should this trigger anything?
+ upper_visitor.visit_path(ce.p, ::HIR::Visitor::PathContext::VALUE);
),
(ItemAddr,
upper_visitor.visit_path(ce, ::HIR::Visitor::PathContext::VALUE);
@@ -548,7 +548,7 @@ namespace {
(Bytes, ),
(StaticString, ), // String
(Const,
- // TODO: Should this trigger anything?
+ this->visit_path(ce.p, ::HIR::Visitor::PathContext::VALUE);
),
(ItemAddr,
this->visit_path(ce, ::HIR::Visitor::PathContext::VALUE);