Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dtolnay/thiserror
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.18
Choose a base ref
...
head repository: dtolnay/thiserror
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.19
Choose a head ref
  • 15 commits
  • 19 files changed
  • 2 contributors

Commits on Jan 21, 2026

  1. Configuration menu
    Copy the full SHA
    ac14934 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2026

  1. Configuration menu
    Copy the full SHA
    910be13 View commit details
    Browse the repository at this point in the history
  2. 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"),
            |
    dtolnay committed Feb 8, 2026
    Configuration menu
    Copy the full SHA
    f70920a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b24c87e View commit details
    Browse the repository at this point in the history
  4. Remove compiler version support from readme

    Superseded by `rust-version` metadata in Cargo.toml.
    dtolnay committed Feb 8, 2026
    Configuration menu
    Copy the full SHA
    fc03a4c View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2026

  1. Configuration menu
    Copy the full SHA
    9ac165c View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2026

  1. Unpin CI miri toolchain

    Fixed in nightly-2026-02-13.
    dtolnay committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    99e8a6c View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2026

  1. Configuration menu
    Copy the full SHA
    d4a2507 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2026

  1. chore: improve thiserror maintenance path

    Aiden Park committed May 21, 2026
    Configuration menu
    Copy the full SHA
    c50e387 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #451 from vip892766gma/maint/20260521171412

    chore: improve thiserror maintenance path
    dtolnay authored May 21, 2026
    Configuration menu
    Copy the full SHA
    febcc03 View commit details
    Browse the repository at this point in the history
  3. 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)]`
    dtolnay committed May 21, 2026
    Configuration menu
    Copy the full SHA
    7214e0e View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2026

  1. Configuration menu
    Copy the full SHA
    4178c4a View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2026

  1. Configuration menu
    Copy the full SHA
    ec42ea7 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2026

  1. Update to syn 3

    dtolnay committed Jul 18, 2026
    Configuration menu
    Copy the full SHA
    0a0e76c View commit details
    Browse the repository at this point in the history
  2. Release 2.0.19

    dtolnay committed Jul 18, 2026
    Configuration menu
    Copy the full SHA
    e13a785 View commit details
    Browse the repository at this point in the history
Loading