Repository navigation
Comparing changes
Open a pull request
base repository: dtolnay/thiserror
base: 2.0.18
head repository: dtolnay/thiserror
compare: 2.0.20
- 20 commits
- 19 files changed
- 2 contributors
Commits on Jan 21, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ac14934 - Browse repository at this point
Copy the full SHA ac14934View commit details
Commits on Feb 8, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 910be13 - Browse repository at this point
Copy the full SHA 910be13View commit details -
Resolve unnecessary_map_or clippy lint
warning: this `map_or` can be simplified --> build.rs:76:38 | 76 | if cfg!(not(feature = "std")) && rustc.map_or(false, |rustc| rustc < 81) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or = note: `-W clippy::unnecessary-map-or` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::unnecessary_map_or)]` help: use `is_some_and` instead | 76 - if cfg!(not(feature = "std")) && rustc.map_or(false, |rustc| rustc < 81) { 76 + if cfg!(not(feature = "std")) && rustc.is_some_and(|rustc| rustc < 81) { | warning: this `map_or` can be simplified --> impl/src/expand.rs:385:13 | 385 | / v.attrs 386 | | .display 387 | | .as_ref() 388 | | .map_or(false, |display| display.has_bonus_display) | |___________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or = note: `-W clippy::unnecessary-map-or` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::unnecessary_map_or)]` help: use `is_some_and` instead | 388 - .map_or(false, |display| display.has_bonus_display) 388 + .is_some_and(|display| display.has_bonus_display) | warning: this `map_or` can be simplified --> impl/src/prop.rs:131:8 | 131 | if from_field.map_or(false, |from_field| { | ________^ 132 | | from_field.member == backtrace_field.member 133 | | }) { | |______^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use `is_some_and` instead | 131 - if from_field.map_or(false, |from_field| { 131 + if from_field.is_some_and(|from_field| { | warning: this `map_or` can be simplified --> impl/src/valid.rs:242:32 | 242 | Type::Reference(ty) => ty | ________________________________^ 243 | | .lifetime 244 | | .as_ref() 245 | | .map_or(false, |lifetime| lifetime.ident != "static"), | |_________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or help: use `is_some_and` instead | 245 - .map_or(false, |lifetime| lifetime.ident != "static"), 245 + .is_some_and(|lifetime| lifetime.ident != "static"), |Configuration menu - View commit details
-
Copy full SHA for f70920a - Browse repository at this point
Copy the full SHA f70920aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b24c87e - Browse repository at this point
Copy the full SHA b24c87eView commit details -
Remove compiler version support from readme
Superseded by `rust-version` metadata in Cargo.toml.
Configuration menu - View commit details
-
Copy full SHA for fc03a4c - Browse repository at this point
Copy the full SHA fc03a4cView commit details
Commits on Feb 12, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 9ac165c - Browse repository at this point
Copy the full SHA 9ac165cView commit details
Commits on Feb 16, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 99e8a6c - Browse repository at this point
Copy the full SHA 99e8a6cView commit details
Commits on Mar 24, 2026
-
Configuration menu - View commit details
-
Copy full SHA for d4a2507 - Browse repository at this point
Copy the full SHA d4a2507View commit details
Commits on May 21, 2026
-
chore: improve thiserror maintenance path
Aiden Park committedMay 21, 2026 Configuration menu - View commit details
-
Copy full SHA for c50e387 - Browse repository at this point
Copy the full SHA c50e387View commit details -
Merge pull request #451 from vip892766gma/maint/20260521171412
chore: improve thiserror maintenance path
Configuration menu - View commit details
-
Copy full SHA for febcc03 - Browse repository at this point
Copy the full SHA febcc03View commit details -
Ignore items_after_statements pedantic clippy lint in test
warning: adding items after statements is confusing, since items exist from the start of the scope --> tests/test_transparent.rs:89:5 | 89 | struct WithSource(#[source] io::Error); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements = note: `-W clippy::items-after-statements` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::items_after_statements)]`Configuration menu - View commit details
-
Copy full SHA for 7214e0e - Browse repository at this point
Copy the full SHA 7214e0eView commit details
Commits on Jun 20, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 4178c4a - Browse repository at this point
Copy the full SHA 4178c4aView commit details
Commits on Jun 24, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ec42ea7 - Browse repository at this point
Copy the full SHA ec42ea7View commit details
Commits on Jul 18, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 0a0e76c - Browse repository at this point
Copy the full SHA 0a0e76cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e13a785 - Browse repository at this point
Copy the full SHA e13a785View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa9d91f - Browse repository at this point
Copy the full SHA aa9d91fView commit details
Commits on Aug 3, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 2901cfd - Browse repository at this point
Copy the full SHA 2901cfdView commit details
Commits on Aug 8, 2026
-
Suppress redundant_field_names clippy lint
warning: redundant field names in struct initialization --> tests/test_from.rs:9:5 | 9 | / #[from] 10 | | source: io::Error, | |__________^ help: replace it with: `source` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `-W clippy::redundant-field-names` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::redundant_field_names)]` warning: redundant field names in struct initialization --> tests/test_from.rs:32:9 | 32 | / #[from] 33 | | source: io::Error, | |______________^ help: replace it with: `source` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names warning: redundant field names in struct initialization --> tests/test_generics.rs:145:5 | 145 | / #[from] 146 | | pub source: StructDebugGeneric<E>, | |______________^ help: replace it with: `source` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `-W clippy::redundant-field-names` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::redundant_field_names)]`Configuration menu - View commit details
-
Copy full SHA for 2266152 - Browse repository at this point
Copy the full SHA 2266152View commit details -
Merge pull request #454 from dtolnay/clippy
Suppress redundant_field_names clippy lint
Configuration menu - View commit details
-
Copy full SHA for c4c3ebd - Browse repository at this point
Copy the full SHA c4c3ebdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1d5db5 - Browse repository at this point
Copy the full SHA b1d5db5View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.0.18...2.0.20