size_of and align_of are part of the prelude nowadays

This commit is contained in:
bjorn3
2026-04-06 15:19:52 +02:00
committed by Jeremy Soller
parent 2e784dfe46
commit 654ee6ca3e
42 changed files with 137 additions and 166 deletions
-1
View File
@@ -149,7 +149,6 @@ macro_rules! int_like {
#[test]
fn test() {
use ::core::sync::atomic::AtomicUsize;
use core::mem::size_of;
// Generate type `usize_like`.
int_like!(UsizeLike, usize);