1 2 3 4 5 6 7 8 9
use errorstack::ErrorStack; #[derive(ErrorStack)] union Payload { int: u32, float: f32, } fn main() {}