mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
4b3ba5844e
Replace NullOp::SizeOf and NullOp::AlignOf by lang items. Part of https://github.com/rust-lang/rust/issues/146411 Fixes https://github.com/rust-lang/rust/issues/119729 Keeps https://github.com/rust-lang/rust/issues/136175 as it involves `offset_of!` which this PR does not touch. r? `@ghost`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.