Matthias Krüger c6662879b2
Rollup merge of #138040 - thaliaarchi:use-prelude-size-of.compiler, r=compiler-errors
compiler: 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. Apply this change across the compiler.

These functions were added to all preludes in Rust 1.80.

r? ``@compiler-errors``
2025-03-09 10:34:49 +01:00
..
2025-02-08 22:12:13 +00:00
2025-01-31 16:04:13 +11:00
2025-02-08 22:12:13 +00:00
2025-02-18 09:32:44 -08:00
2025-02-17 21:35:52 -05:00
2024-12-13 10:21:22 +00:00
2024-10-15 20:30:23 -07:00
2024-10-12 15:17:03 +01:00
2024-11-20 18:11:37 +01:00
2025-01-11 11:34:01 +00:00