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.11
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.12
Choose a head ref
  • 8 commits
  • 8 files changed
  • 1 contributor

Commits on Jan 23, 2025

  1. Remove **/*.rs.bk from project-specific gitignore

    Cargo stopped generating this in its project template 5 years ago. It
    would belong in a global gitignore instead.
    dtolnay committed Jan 23, 2025
    Configuration menu
    Copy the full SHA
    70bc20d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2706873 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2025

  1. Configuration menu
    Copy the full SHA
    6706a51 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f07160 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2025

  1. Resolve some elidable_lifetime_names pedantic clippy lint

        warning: the following explicit lifetimes could be elided: 'a
          --> src/aserror.rs:47:6
           |
        47 | impl<'a> Sealed for dyn Error + 'a {}
           |      ^^                         ^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
           = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
           = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
        help: elide the lifetimes
           |
        47 - impl<'a> Sealed for dyn Error + 'a {}
        47 + impl Sealed for dyn Error + '_ {}
           |
    
        warning: the following explicit lifetimes could be elided: 'a
          --> src/aserror.rs:48:6
           |
        48 | impl<'a> Sealed for dyn Error + Send + 'a {}
           |      ^^                                ^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
           |
        48 - impl<'a> Sealed for dyn Error + Send + 'a {}
        48 + impl Sealed for dyn Error + Send + '_ {}
           |
    
        warning: the following explicit lifetimes could be elided: 'a
          --> src/aserror.rs:49:6
           |
        49 | impl<'a> Sealed for dyn Error + Send + Sync + 'a {}
           |      ^^                                       ^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
           |
        49 - impl<'a> Sealed for dyn Error + Send + Sync + 'a {}
        49 + impl Sealed for dyn Error + Send + Sync + '_ {}
           |
    
        warning: the following explicit lifetimes could be elided: 'a
          --> src/aserror.rs:50:6
           |
        50 | impl<'a> Sealed for dyn Error + Send + Sync + UnwindSafe + 'a {}
           |      ^^                                                    ^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
           |
        50 - impl<'a> Sealed for dyn Error + Send + Sync + UnwindSafe + 'a {}
        50 + impl Sealed for dyn Error + Send + Sync + UnwindSafe + '_ {}
           |
    dtolnay committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    daf2a6f View commit details
    Browse the repository at this point in the history
  2. Ignore elidable_lifetime_names pedantic clippy lint

        warning: the following explicit lifetimes could be elided: 'a
         --> src/var.rs:5:6
          |
        5 | impl<'a, T: Pointer + ?Sized> Pointer for Var<'a, T> {
          |      ^^                                       ^^
          |
          = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
          = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
          = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
        help: elide the lifetimes
          |
        5 - impl<'a, T: Pointer + ?Sized> Pointer for Var<'a, T> {
        5 + impl<T: Pointer + ?Sized> Pointer for Var<'_, T> {
          |
    
        warning: the following explicit lifetimes could be elided: 'a
          --> tests/test_lints.rs:40:22
           |
        40 |     pub enum MyError<'a> {
           |                      ^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
           = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
           = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
        help: elide the lifetimes
           |
        40 -     pub enum MyError<'a> {
        40 +     pub enum MyError'_> {
           |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> tests/test_display.rs:157:14
            |
        157 |         impl<'a> Display for Msg<'a> {
            |              ^^                  ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
            = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
            = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
        help: elide the lifetimes
            |
        157 -         impl<'a> Display for Msg<'a> {
        157 +         impl Display for Msg<'_> {
            |
    dtolnay committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    9f27b76 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #413 from dtolnay/elidablelifetime

    Clippy elidable_lifetime_names lint
    dtolnay authored Mar 3, 2025
    Configuration menu
    Copy the full SHA
    76490f7 View commit details
    Browse the repository at this point in the history
  4. Release 2.0.12

    dtolnay committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    95a5126 View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy