mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 10:56:38 +00:00
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the
prelude instead of importing or qualifying them.
These functions were added to all preludes in Rust 1.80.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.