diff options
| author | Thalia Archibald <thalia@archibald.dev> | 2025-03-04 20:28:38 -0800 |
|---|---|---|
| committer | Thalia Archibald <thalia@archibald.dev> | 2025-03-05 00:48:44 -0800 |
| commit | 653801b854841fadbbf3bba83779a8ba82a2de8c (patch) | |
| tree | d3272f4d68995184d076547b839b7132051a1080 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 0ffef9b5d158ce1954ce7b715e675d50b863bc05 (diff) | |
| download | rust-653801b854841fadbbf3bba83779a8ba82a2de8c.tar.gz rust-653801b854841fadbbf3bba83779a8ba82a2de8c.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
