-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use real vtable type in the trait object representation #11915
Comments
Triage: This would be nice for downstream users of TraitObject who want to create type-erased data structures by keeping the vtable inline etc. |
Triage: no change.
|
Triage: no real changes here, and I'm not aware of any plans to. Given no real comments since 2014, I'm going to give this one a close, as I don't think it's likely to ever be prioritized. If anyone feels passionate about changing this, ping @rust-lang/compiler to see if they think it's still viable. |
This has nothing to do with |
By assuming that a recursive type is normalizable within the deeper calls to `is_normalizable_helper()`, more cases can be handled by this function. In order to fix stack overflows, a recursion limit has also been added for recursive generic type instantiations. Fix rust-lang#9798 Fix rust-lang#10508 Fix rust-lang#11915 changelog: [`large_enum_variant`]: more precise detection of variants with large size differences
There's no reason to be casting to and from an opaque type as it confuses LLVM and breaks devirtualization and other optimizations. I think it will involve some pain to have
trans::meth
spit out the vtable type without generating one though.The text was updated successfully, but these errors were encountered: