Closed onkoe closed 2 months ago
in other words, make this valid:
use pisserror::Error; use std::error::Error; #[derive(Debug, Error)] enum MyError { #[error] VariantWithFromField(#[from] std::io::Error), #[error("message has to be here: {_0}")] NormalVariant(i32), }
nope. let's do #17
in other words, make this valid: