summaryrefslogtreecommitdiff
path: root/src/mir/from_hir.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-08-23 19:23:05 +0800
committerJohn Hodge <tpg@mutabah.net>2016-08-23 19:23:05 +0800
commit262563ff10b0c2f34649e5177ee8673cc874ae85 (patch)
treede5647edfa39fcedfc0243f0befb58531706fd6f /src/mir/from_hir.hpp
parent125122473e95db87df50be04b9bfd81874c65222 (diff)
downloadmrust-262563ff10b0c2f34649e5177ee8673cc874ae85.tar.gz
MIR Gen - More span propagation
Diffstat (limited to 'src/mir/from_hir.hpp')
-rw-r--r--src/mir/from_hir.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir/from_hir.hpp b/src/mir/from_hir.hpp
index 3889c654..cef6e297 100644
--- a/src/mir/from_hir.hpp
+++ b/src/mir/from_hir.hpp
@@ -171,7 +171,7 @@ private:
void drop_scope_values(const ScopeDef& sd);
void complete_scope(ScopeDef& sd);
- void with_val_type(const ::MIR::LValue& val, ::std::function<void(const ::HIR::TypeRef&)> cb);
+ void with_val_type(const Span& sp, const ::MIR::LValue& val, ::std::function<void(const ::HIR::TypeRef&)> cb);
bool lvalue_is_copy(const Span& sp, const ::MIR::LValue& lv);
};