diff options
Diffstat (limited to 'src/hir/serialise.cpp')
-rw-r--r-- | src/hir/serialise.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/hir/serialise.cpp b/src/hir/serialise.cpp index 65ccad6c..54b61387 100644 --- a/src/hir/serialise.cpp +++ b/src/hir/serialise.cpp @@ -804,14 +804,14 @@ namespace { { uint8_t bitflag_1 = 0; #define BIT(i,fld) if(fld) bitflag_1 |= 1 << (i); - BIT(0, m.can_coerce) - BIT(1, m.can_unsize) - BIT(2, m.has_a_deref) - BIT(3, m.is_always_unsized) - BIT(4, m.is_always_sized) - BIT(5, m.is_copy) + BIT(0, m.can_unsize) + BIT(1, m.has_a_deref) + BIT(2, m.is_copy) #undef BIT m_out.write_u8(bitflag_1); + + m_out.write_count( m.coerce_unsized_index ); + m_out.write_count( m.unsized_field ); // TODO: auto_impls } |