mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
96be3e7cc8
Add `tag_for_variant` query This query allows for sharing code between `rustc_const_eval` and `rustc_transmutability`. It's a precursor to a PR I'm working on to entirely replace the bespoke layout computations in `rustc_transmutability`. r? `@compiler-errors`