diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-09 10:34:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-09 10:34:49 +0100 |
| commit | 454b083b56dd41b17ecd62c619811e79d75e80b8 (patch) | |
| tree | 0ac13bc552c5aecdd6bdc3e1cff6e3810b00ccd0 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 24bf40456f61734eb112c3161837b90d1911139a (diff) | |
| parent | 70b588882781ff091a0bff927f8ff74c0d234798 (diff) | |
| download | rust-454b083b56dd41b17ecd62c619811e79d75e80b8.tar.gz rust-454b083b56dd41b17ecd62c619811e79d75e80b8.zip | |
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``
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
