Fix TraitObject

This commit is contained in:
Carl Lerche
2015-04-07 16:15:11 -07:00
parent 8af74ae40e
commit c8f0bbd513
+1
View File
@@ -258,6 +258,7 @@ impl<B: ByteStr> ByteStrPriv for B {
// TODO: Figure out how to not depend on the memory layout of trait objects
// Blocked: rust-lang/rust#24050
#[repr(C)]
struct TraitObject {
data: *mut (),
vtable: *mut (),