vtables may be include auto traits #131820
Labels
A-auto-traits
Area: auto traits (e.g., `auto trait Send {}`)
A-trait-objects
Area: trait objects, vtable layout
C-bug
Category: This is a bug.
F-trait_upcasting
`#![feature(trait_upcasting)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
extracted from #131813
results in the following assembly:
https://rust.godbolt.org/z/Yef9xdjfP
This looks like the vtable for
WithAutoAfter
- but not forWithAutoBefore
- includes a slot forSend
. Given thatSend
is an auto-trait this seems very unexpected to meThe text was updated successfully, but these errors were encountered: