2 Detects expressions where
3 `size_of::<T>` or `size_of_val::<T>` is used as a
4 count of elements of type `T`
7 These functions expect a count
8 of `T` and not a number of bytes
12 const SIZE: usize = 128;
14 let mut y = [2u8; SIZE];
15 unsafe { copy_nonoverlapping(x.as_ptr(), y.as_mut_ptr(), size_of::<u8>() * SIZE) };