rustapi
rustapi copied to clipboard
Bump thiserror from 1.0.63 to 2.0.11
Bumps thiserror from 1.0.63 to 2.0.11.
Release notes
Sourced from thiserror's releases.
2.0.11
- Add feature gate to tests that use std (#409, #410, thanks
@​Maytha8)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
- Work around conflict with #[deny(clippy::allow_attributes)] (#397, thanks
@​zertosh)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)
Commits
0f532e3Release 2.0.113d15543Merge pull request #410 from dtolnay/testnostd1a226aeDisable two more integration tests in no-std mode8b5f2d7Fix unused import in test when built without stdeecd247Add CI step to test with "std" disabled8f2a76bMerge pull request #409 from Maytha8/std-tests693a6cdAdd feature gate to tests that use std349f696Release 2.0.106cd87bcMerge pull request #408 from dtolnay/assoctype6b3e1e5Generate trait bounds on associated types- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)