- Multiple source variants of the same type are now supported. See here for more.
error_set! {
ErrorEnum = {
IoError(std::io::Error),
IoError2(std::io::Error),
};
}
- Source struct variants are now supported. See here for more.
error_set! {
ErrorEnum = {
IoError(std::io::Error) {
field1: String,
field2: &'static str,
}
};
}
coerce_macro
feature removed.
Full Changelog: v0.6.6...v0.7.0