use thiserror_nostd_notrait::Error; #[derive(Debug, Error)] pub struct Error { #[source] source: std::io::Error, #[from] other: anyhow::Error, } fn main() {}