summaryrefslogtreecommitdiff
path: root/src/hir/serialise.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-12-11 14:08:50 +0800
committerJohn Hodge <tpg@mutabah.net>2016-12-11 14:08:50 +0800
commit577fe1d0c3d891ec1b3fd60db2a6675917c98be0 (patch)
tree3e5c1004daca87e0dd191af8bceb5fb7bf0e57ba /src/hir/serialise.cpp
parenta32d452ee6792663a1d73d4b082c224a20c3caa4 (diff)
downloadmrust-577fe1d0c3d891ec1b3fd60db2a6675917c98be0.tar.gz
Trans - statics and literals
Diffstat (limited to 'src/hir/serialise.cpp')
-rw-r--r--src/hir/serialise.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hir/serialise.cpp b/src/hir/serialise.cpp
index f2394d40..fd2f2749 100644
--- a/src/hir/serialise.cpp
+++ b/src/hir/serialise.cpp
@@ -764,7 +764,8 @@ namespace {
m_out.write_bool(item.m_is_mut);
serialise(item.m_type);
- // NOTE: Omit the rest, not generic and emitted as part of the image.
+
+ serialise(item.m_value_res);
}
// - Type items