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.58
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.60
Choose a head ref
  • 16 commits
  • 8 files changed
  • 2 contributors

Commits on Jun 29, 2022

  1. Use dtolnay/rust-toolchain's miri toolchain

    This defaults to components miri + rust-src.
    dtolnay committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    a3a2f08 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2022

  1. Configuration menu
    Copy the full SHA
    9054599 View commit details
    Browse the repository at this point in the history
  2. Ignore explicit_auto_deref clippy lint

        error: deref which would be done by auto-deref
           --> src/error.rs:961:9
            |
        961 |         &**self
            |         ^^^^^^^ help: try this: `self`
            |
            = note: `-D clippy::explicit-auto-deref` implied by `-D clippy::all`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
    
        error: deref which would be done by auto-deref
           --> src/error.rs:968:9
            |
        968 |         &**self
            |         ^^^^^^^ help: try this: `self`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
    dtolnay committed Jul 2, 2022
    Configuration menu
    Copy the full SHA
    38c883b View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

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

Commits on Jul 24, 2022

  1. Disable backtrace test on miri

    Starting in the most recent release of miri, the build.rs probe fails to
    build even on nightly toolchain with one of the following errors:
    
        error: miri can only run programs that have a main function
    
        error: the current sysroot was built without `-Zalways-encode-mir`,
        or libcore seems missing. Use `cargo miri setup` to prepare a
        sysroot that is suitable for Miri.
    
    which causes anyhow::Error's backtrace() inherent method to not exist.
    
        error[E0658]: use of unstable library feature 'backtrace'
          --> tests/test_backtrace.rs:20:19
           |
        20 |     let _ = error.backtrace();
           |                   ^^^^^^^^^
           |
           = note: see issue 53487 <rust-lang/rust#53487> for more information
           = help: add `#![feature(backtrace)]` to the crate attributes to enable
    dtolnay committed Jul 24, 2022
    Configuration menu
    Copy the full SHA
    8d25d6b View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Revert "Disable backtrace test on miri"

    Fixed in nightly-2022-07-26.
    
    Closes #246.
    
    This reverts commit 8d25d6b.
    dtolnay committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    13e7a90 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

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

Commits on Jul 30, 2022

  1. Ignore assertions_on_result_states clippy lint

        error: called `assert!` with `Result::is_ok`
          --> tests/test_macros.rs:29:5
           |
        29 |     assert!(f().is_ok());
           |     ^^^^^^^^^^^^^^^^^^^^ help: replace with: `f().unwrap()`
           |
           = note: `-D clippy::assertions-on-result-states` implied by `-D clippy::all`
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_result_states
    
        error: called `assert!` with `Result::is_ok`
          --> tests/test_macros.rs:36:5
           |
        36 |     assert!(f().is_ok());
           |     ^^^^^^^^^^^^^^^^^^^^ help: replace with: `f().unwrap()`
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_result_states
    
        error: called `assert!` with `Result::is_err`
          --> tests/test_macros.rs:42:5
           |
        42 |     assert!(f().is_err());
           |     ^^^^^^^^^^^^^^^^^^^^^ help: replace with: `f().unwrap_err()`
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_result_states
    
        error: called `assert!` with `Result::is_err`
           --> tests/test_downcast.rs:122:5
            |
        122 |     assert!(error.downcast::<&str>().is_err());
            |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `error.downcast::<&str>().unwrap_err()`
            |
            = note: `-D clippy::assertions-on-result-states` implied by `-D clippy::all`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_result_states
    dtolnay committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    c0e7854 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. Configuration menu
    Copy the full SHA
    8f268ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f58e803 View commit details
    Browse the repository at this point in the history
  3. Release 1.0.59

    dtolnay committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    fb9fb18 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

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

Commits on Aug 3, 2022

  1. Configuration menu
    Copy the full SHA
    822a4ed View commit details
    Browse the repository at this point in the history
  2. fix RUSTC_WRAPPER env var

    RalfJung committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    da28e88 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #249 from RalfJung/rustc-target

    propagate --target to rustc invocation
    dtolnay authored Aug 3, 2022
    Configuration menu
    Copy the full SHA
    29c72c5 View commit details
    Browse the repository at this point in the history
  4. Release 1.0.60

    dtolnay committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    08f8012 View commit details
    Browse the repository at this point in the history
Loading