> the internal representation of a vtable is now guaranteed to have its supertraits laid out in some predictable prefix form to its own methods.
Importantly, note that the specifics of the vtable layout are not guaranteed, only the general property that the layout must be amenable to supporting this.
Comments
> the internal representation of a vtable is now guaranteed to have its supertraits laid out in some predictable prefix form to its own methods.
Importantly, note that the specifics of the vtable layout are not guaranteed, only the general property that the layout must be amenable to supporting this.
And for extra context the RFC lays out the current design and future options: https://github.com/rust-lang/rfcs/blob/master/text/3324-dyn-...