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/anyhow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.95
Choose a base ref
...
head repository: dtolnay/anyhow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.97
Choose a head ref
  • 14 commits
  • 7 files changed
  • 1 contributor

Commits on Dec 27, 2024

  1. Ignore literal_string_with_formatting_args clippy lint in test

        warning: this looks like a formatting argument but it is not part of a formatting macro
           --> tests/test_ensure.rs:505:44
            |
        505 |         "Condition failed: `\"\" == format!(\"{:#?}\", point)`",
            |                                            ^^^^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
            = note: `-W clippy::literal-string-with-formatting-args` implied by `-W clippy::all`
            = help: to override `-W clippy::all` add `#[allow(clippy::literal_string_with_formatting_args)]`
    dtolnay committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    9c0fb8b View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2025

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

Commits on Jan 11, 2025

  1. Ignore double_ended_iterator_last clippy lint

        warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
           --> src/error.rs:482:22
            |
        482 |         self.chain().last().unwrap()
            |                      ^^^^^^ help: try: `next_back()`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last
            = note: `-W clippy::double-ended-iterator-last` implied by `-W clippy::all`
            = help: to override `-W clippy::all` add `#[allow(clippy::double_ended_iterator_last)]`
    dtolnay committed Jan 11, 2025
    Configuration menu
    Copy the full SHA
    4d71a84 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2025

  1. Ignore missing_abi lint in nightly-2025-01-16

        warning: extern declarations without an explicit ABI are deprecated
           --> tests/test_ensure.rs:617:43
            |
        617 |     let test = || Ok(ensure!(extern_fn as extern fn() as usize * 0 != 0));
            |                                           ^^^^^^ help: explicitly specify the C ABI: `extern "C"`
            |
            = note: `#[warn(missing_abi)]` on by default
    dtolnay committed Jan 16, 2025
    Configuration menu
    Copy the full SHA
    51a173e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #404 from dtolnay/missingabi

    Ignore missing_abi lint in nightly-2025-01-16
    dtolnay authored Jan 16, 2025
    Configuration menu
    Copy the full SHA
    8891ce3 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2025

  1. Configuration menu
    Copy the full SHA
    b880dd0 View commit details
    Browse the repository at this point in the history
  2. 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
    3e40975 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d71c806 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2025

  1. Unset doc-scrape-examples for lib target

    False is the default value since Cargo PR 11499.
    dtolnay committed Feb 10, 2025
    Configuration menu
    Copy the full SHA
    1cff785 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2025

  1. Configuration menu
    Copy the full SHA
    bc33c24 View commit details
    Browse the repository at this point in the history
  2. Release 1.0.96

    dtolnay committed Feb 20, 2025
    Configuration menu
    Copy the full SHA
    f0aa0d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    427c0bb View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2025

  1. Ignore elidable_lifetime_names pedantic clippy lint

        warning: the following explicit lifetimes could be elided: 'a
          --> src/ptr.rs:72:6
           |
        72 | impl<'a, T> Copy for Ref<'a, T> where T: ?Sized {}
           |      ^^                  ^^
           |
           = 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
           |
        72 - impl<'a, T> Copy for Ref<'a, T> where T: ?Sized {}
        72 + impl<T> Copy for Ref<'_, T> where T: ?Sized {}
           |
    
        warning: the following explicit lifetimes could be elided: 'a
          --> src/ptr.rs:74:6
           |
        74 | impl<'a, T> Clone for Ref<'a, T>
           |      ^^                   ^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
           |
        74 - impl<'a, T> Clone for Ref<'a, T>
        74 + impl<T> Clone for Ref<'_, T>
           |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/ptr.rs:136:6
            |
        136 | impl<'a, T> Copy for Mut<'a, T> where T: ?Sized {}
            |      ^^                  ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        136 - impl<'a, T> Copy for Mut<'a, T> where T: ?Sized {}
        136 + impl<T> Copy for Mut<'_, T> where T: ?Sized {}
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/ptr.rs:138:6
            |
        138 | impl<'a, T> Clone for Mut<'a, T>
            |      ^^                   ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        138 - impl<'a, T> Clone for Mut<'a, T>
        138 + impl<T> Clone for Mut<'_, T>
            |
    
        warning: the following explicit lifetimes could be elided: 'a
           --> src/ptr.rs:186:6
            |
        186 | impl<'a, T> Mut<'a, T> {
            |      ^^         ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
        help: elide the lifetimes
            |
        186 - impl<'a, T> Mut<'a, T> {
        186 + impl<T> Mut<'_, T> {
            |
    dtolnay committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    c7fca9b View commit details
    Browse the repository at this point in the history
  2. Release 1.0.97

    dtolnay committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    bfb89ef View commit details
    Browse the repository at this point in the history
Loading