Sourced from thiserror's releases.
2.0.12
- Prevent elidable_lifetime_names pedantic clippy lint in generated impl (#413)
2.0.11
2.0.10
- Support errors containing a generic type parameter's associated type in a field (#408)
2.0.9
- Work around
missing_inline_in_public_itemsclippy restriction being triggered in macro-generated code (#404)2.0.8
- Improve support for macro-generated
derive(Error)call sites (#399)2.0.7
2.0.6
- Suppress deprecation warning on generated From impls (#396)
2.0.5
- Prevent deprecation warning on generated impl for deprecated type (#394)
2.0.4
- Eliminate needless_lifetimes clippy lint in generated
Fromimpls (#391, thanks@matt-phylum)2.0.3
- Support the same Path field being repeated in both Debug and Display representation in error message (#383)
- Improve error message when a format trait used in error message is not implemented by some field (#384)
2.0.2
- Fix hang on invalid input inside #[error(...)] attribute (#382)
2.0.1
- Support errors that contain a dynamically sized final field (#375)
- Improve inference of trait bounds for fields that are interpolated multiple times in an error message (#377)
2.0.0
Breaking changes
Referencing keyword-named fields by a raw identifier like
{r#type}inside a format string is no longer accepted; simply use the unraw name like{type}(#347)This aligns thiserror with the standard library's formatting macros, which gained support for implicit argument capture later than the release of this feature in thiserror 1.x.
#[derive(Error, Debug)] #[error("... {type} ...")] // Before: {r#type} pub struct Error { pub r#type: Type,
... (truncated)
95a5126
Release 2.0.1276490f7
Merge pull request #413
from dtolnay/elidablelifetime9f27b76
Ignore elidable_lifetime_names pedantic clippy lintdaf2a6f
Resolve some elidable_lifetime_names pedantic clippy lint5f07160
Point standard library links to stable6706a51
Convert html links to intra-doc links2706873
More precise gitignore patterns70bc20d
Remove **/*.rs.bk from project-specific gitignore0f532e3
Release 2.0.113d15543
Merge pull request #410
from dtolnay/testnostd