Releases: dtolnay/thiserror
Releases · dtolnay/thiserror
1.0.23
- Better diagnostic when putting non-static lifetimes into the source type of an error (#115, #116)
1.0.22
-
Fix raw identifier fields in format arguments (#108, thanks @ninevra)
#[derive(Error, Debug)]
#[error("raw identifier: {r#type}")]
pub struct Error {
r#type: i32,
}
-
Fix Rust keyword named format arguments (#109)
#[derive(Error, Debug)]
#[error("keyword: {type}", type = 1)]
pub struct Error;
1.0.20
- Resolve unused_qualifications lint in generated code (#91)
1.0.19
- Avoid triggering
used_underscore_binding
pedantic Clippy lint in generated code of #[error(transparent)] attribute (#88)
1.0.18
- Fix compiler error in some cases when derive(Error) is invoked from inside of a macro_rules macro (#86)
1.0.17
- Documentation improvements
1.0.16
- Catch misplaced #[error(transparent)] attributes (#80, #81)
1.0.15
- Improve error message when an error type is missing a Display impl (#75)
1.0.14
- Avoid triggering deprecation warnings when an error enum has deprecated variants