fix(deps): update rust crate thiserror to v2 - #87
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/thiserror-2.x
branch
from
December 12, 2025 21:37
ee23026 to
1351763
Compare
renovate
Bot
force-pushed
the
renovate/thiserror-2.x
branch
2 times, most recently
from
December 29, 2025 12:25
59b5450 to
b7e95b9
Compare
renovate
Bot
force-pushed
the
renovate/thiserror-2.x
branch
from
January 7, 2026 08:31
b7e95b9 to
def7cbd
Compare
renovate
Bot
force-pushed
the
renovate/thiserror-2.x
branch
from
March 1, 2026 10:25
def7cbd to
28cd4ca
Compare
renovate
Bot
force-pushed
the
renovate/thiserror-2.x
branch
5 times, most recently
from
March 16, 2026 12:18
172e340 to
8b7fdb1
Compare
renovate
Bot
force-pushed
the
renovate/thiserror-2.x
branch
from
April 9, 2026 06:37
8b7fdb1 to
abd6585
Compare
renovate
Bot
force-pushed
the
renovate/thiserror-2.x
branch
7 times, most recently
from
June 24, 2026 19:50
5e31a7f to
a612c95
Compare
renovate
Bot
force-pushed
the
renovate/thiserror-2.x
branch
from
June 30, 2026 19:29
a612c95 to
7d1da82
Compare
matthewelwell
approved these changes
Jul 21, 2026
renovate
Bot
force-pushed
the
renovate/thiserror-2.x
branch
5 times, most recently
from
July 30, 2026 05:25
48e04be to
7c9108a
Compare
renovate
Bot
force-pushed
the
renovate/thiserror-2.x
branch
from
July 30, 2026 05:45
7c9108a to
f7cf7ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0→2.0Release Notes
dtolnay/thiserror (thiserror)
v2.0.19Compare Source
v2.0.18Compare Source
needless_lifetimes = "forbid"(#443, thanks @LucaCappelletti94)v2.0.17Compare Source
v2.0.16Compare Source
v2.0.15Compare Source
Error::provideAPI becoming unavailable from a future new compiler lint (#427)v2.0.14Compare Source
v2.0.13Compare Source
v2.0.12Compare Source
v2.0.11Compare Source
v2.0.10Compare Source
v2.0.9Compare Source
missing_inline_in_public_itemsclippy restriction being triggered in macro-generated code (#404)v2.0.8Compare Source
derive(Error)call sites (#399)v2.0.7Compare Source
v2.0.6Compare Source
v2.0.5Compare Source
v2.0.4Compare Source
Fromimpls (#391, thanks @matt-phylum)v2.0.3Compare Source
v2.0.2Compare Source
v2.0.1Compare Source
v2.0.0Compare Source
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.
Trait bounds are no longer inferred on fields whose value is shadowed by an explicit named argument in a format message (#345)
Tuple structs and tuple variants can no longer use numerical
{0}{1}access at the same time as supplying extra positional arguments for a format message, as this makes it ambiguous whether the number refers to a tuple field vs a different positional arg (#354)Code containing invocations of thiserror's
derive(Error)must now have a direct dependency on thethiserrorcrate regardless of the error data structure's contents (#368, #369, #370, #372)Features
Support disabling thiserror's standard library dependency by disabling the default "std" Cargo feature:
thiserror = { version = "2", default-features = false }(#373)Support using
r#sourceas field name to opt out of a field named "source" being treated as an error'sError::source()(#350)Infinite recursion in a generated Display impl now produces an
unconditional_recursionwarning (#359)A new attribute
#[error(fmt = path::to::myfmt)]can be used to write formatting logic for an enum variant out-of-line (#367)Enums with an enum-level format message are now able to have individual variants that are
transparentto supersede the enum-level message (#366)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.