summaryrefslogtreecommitdiff
path: root/src/hir/deserialise.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-29 13:26:52 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-29 13:26:52 +0800
commitf5420b8174f7acf062f4c5d682820019d79cbdaf (patch)
treed6c6cdb63a0be8b754d618395d0ffa7443eb2352 /src/hir/deserialise.cpp
parentd8fed3a1def1ae667c1471f44b19749a1f88cc42 (diff)
downloadmrust-f5420b8174f7acf062f4c5d682820019d79cbdaf.tar.gz
HIR Types - Store array size expr as a shared_ptr to allow cloning
Diffstat (limited to 'src/hir/deserialise.cpp')
-rw-r--r--src/hir/deserialise.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/deserialise.cpp b/src/hir/deserialise.cpp
index bb0449cc..4c8b1a43 100644
--- a/src/hir/deserialise.cpp
+++ b/src/hir/deserialise.cpp
@@ -604,7 +604,7 @@ namespace {
})
_(Array, {
deserialise_ptr< ::HIR::TypeRef>(),
- ::HIR::ExprPtr(),
+ nullptr,
m_in.read_u64c()
})
_(Slice, {