diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-03-13 07:25:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-13 07:25:45 -0400 |
commit | 9a0edb86548dca98cce6aad9025f5a8fc92a8522 (patch) | |
tree | 5cd215a00f4ac8096ad0c3291ca664881c72e923 /src/codegen/impl_partialeq.rs | |
parent | 60c3d336760d3b10c637551a2a8beb0f9a588315 (diff) | |
parent | 853ae4d96c7c1b33965fabd822ee9a7201847597 (diff) |
Auto merge of #1271 - emilio:repr-align, r=xidorn
codegen: Support repr(align)
Fixes #917.
Diffstat (limited to 'src/codegen/impl_partialeq.rs')
-rw-r--r-- | src/codegen/impl_partialeq.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/impl_partialeq.rs b/src/codegen/impl_partialeq.rs index 02783808..31c2c979 100644 --- a/src/codegen/impl_partialeq.rs +++ b/src/codegen/impl_partialeq.rs @@ -20,7 +20,7 @@ pub fn gen_partialeq_impl( &self._bindgen_opaque_blob[..] == &other._bindgen_opaque_blob[..] }); } else if comp_info.kind() == CompKind::Union { - assert!(!ctx.options().rust_features().untagged_union()); + assert!(!ctx.options().rust_features().untagged_union); tokens.push(quote! { &self.bindgen_union_field[..] == &other.bindgen_union_field[..] }); |