Refactor Type::size field to TypeId::size method for type_info#156223
Refactor Type::size field to TypeId::size method for type_info#156223SpriteOvO wants to merge 2 commits intorust-lang:mainfrom
Type::size field to TypeId::size method for type_info#156223Conversation
|
The reflection data structures are tied exactly to the implementation cc @oli-obk Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter cc @rust-lang/miri, @RalfJung, @oli-obk, @lcnr Some changes occurred to the CTFE machinery Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri |
fa025e2 to
72d15e1
Compare
Off-topic: Seems like a GitHub bug, when I add a label, all the other labels get removed. This is the second time it has happened, the last time was when I was triaging #155880 issue. |
| } | ||
|
|
||
| /// Equivalent to `project_downcast`, but identifies the variant by name instead of index. | ||
| pub fn project_downcast_sym<P: Projectable<'tcx, M::Provenance>>( |
There was a problem hiding this comment.
I'd suggest calling this project_downcast_named or so. In Miri we have something similar for fields, called project_field_named, which maybe we should upstream.
That's a race condition with the bot adding the labels. Since they weren't there yet when you started editing, they just get reset to the removed state |


Tracking issue #146922
r? @oli-obk