use thiserror_no_std::Error; #[derive(Error)] pub union U { msg: &'static str, num: usize, } fn main() {}