1 2 3 4 5 6 7 8 9 10 11
// Tests that unions cannot derive Protocol use wsdf::*; #[derive(Protocol)] union MyUnion { f1: u32, f2: f32, } fn main() {}