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.30.
Release notes
Sourced from thiserror's releases.
Commits
672e952
Release 1.0.305c62f5e
Merge pull request #155 from cosmicexplorer/derive-unwindsafe2fd08cc
add UnwindSafe impl for AsDynError00956f1
Ui test changes for trybuild 1.0.49035abbd
Add actions job to notice outdated dependenciesf072c62
Update ui test files791a98e
Update ui test suite to nightly-2021-10-07ed234d4
Declare minimum Rust version in Cargo metadatabda41eb
Skip clippy job on pull requestsc7dd271
Release 1.0.29Dependabot 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)