mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
ssa/mono: deduplicate `type_has_metadata` The implementation of the `type_has_metadata` function is duplicated in `rustc_codegen_ssa` and `rustc_monomorphize`, so move this to `rustc_middle`.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.