In the above example, thiserror would automatically generate the following pair of generic trait impls.
impl<E, F, G> std::error::Error for MyError<E, F, G>
where
SomeError<F>: std::error::Error + 'static,
Self: std::fmt::Debug + std::fmt::Display;
impl<E, F, G> std::fmt::Display for MyError<E, F, G>
where
E: std::fmt::Debug + std::fmt::Display,
G: std::fmt::Octal;
1.0.28
Make ? work with error types that hold an optional source (#147)
1.0.27
Support forwarding backtrace method to source's backtrace method (#137, #146, thanks @astraw)
1.0.26
Work around bug in Clippy nonstandard_macro_braces lint (rust-lang/rust-clippy#7422, 245e7cfd149140806ecef89d44b14e9557b297b1)
1.0.25
Support error(transparent) on errors containing a non-'static inner error (#113)
1.0.24
Hygiene fixes in generated source method of error types originating inside of a macro definition to unblock rust-lang/rust#80689 (#121, thanks @Aaron1011)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps thiserror from 1.0.23 to 1.0.29.
Release notes
Sourced from thiserror's releases.
Commits
c7dd271
Release 1.0.294b581e3
Skip a redundant Member clone19a15cb
Merge pull request #152 from dtolnay/boundsf688fd7
Handle multiple bounds from the same format string on the same field113fcaa
Merge pull request #151 from dtolnay/bounds72abba6
Deduplicate inferred bounds34f5931
Merge pull request #150 from dtolnay/boundscc65053
Implied bounds for the remaining std::fmt traits0a1c5bd
Merge pull request #149 from dtolnay/bound3e699aa
Implied bounds for transparent attributeDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)