1 2 3 4 5 6 7 8
//! This test verifies that ZeroablePixel cannot be derived for structs with no fields. use fovea_derive::ZeroablePixel; #[derive(Clone, Copy, ZeroablePixel)] pub struct Empty {} fn main() {}