summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/aligned.rs
AgeCommit message (Collapse)AuthorLines
2025-03-07compiler: Use size_of from the prelude instead of importedThalia Archibald-5/+3
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.
2023-04-14fix broken intradoclinksMaybe Waffle-1/+3
2023-04-14Use `ptr::Alignment` for extra coolness pointsMaybe Waffle-5/+5
2023-04-12Lift `Pointer`'s requirement for the pointer to be thinMaybe Waffle-0/+31
fat pointers rule!