Update vtable implementation for upcoming Rust trait upcasting #358
Labels
[C] Feature / Enhancement
A new feature request or enhancement to an existing feature.
[I] Refactoring / Clean Up
Refactoring or cleaning up of existing code
Rust has an in-progress proposal to add a trait upcasting coercion feature for dynamic trait objects. This
will allow casting between dynamic trait object types as long as the source type is a subtrait of the destination type.
We'll need to update our implementation as soon as all components of this issue land in Rust. In particular, the construction of vtables and the casting in
rvalue.rs
will need to handle indirect access through vtable segments.rust-lang/rust#65991
The text was updated successfully, but these errors were encountered: