rust/library/coretests
Matthias Krüger b834632071
Rollup merge of #138034 - thaliaarchi:use-prelude-size-of, r=tgross35
library: Use `size_of` from the prelude instead of imported

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.

try-job: test-various
try-job: x86_64-gnu
try-job: x86_64-msvc-1
2025-03-07 10:12:44 +01:00
..
benches library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
tests Rollup merge of #138034 - thaliaarchi:use-prelude-size-of, r=tgross35 2025-03-07 10:12:44 +01:00
Cargo.toml Migrate coretests to Rust 2024 2025-02-13 13:10:21 -08:00
lib.rs Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00