size_of and align_of are part of the prelude nowadays
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user