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.102
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.103
Choose a head ref
  • 7 commits
  • 5 files changed
  • 1 contributor

Commits on Mar 24, 2026

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

Commits on Jun 20, 2026

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

Commits on Jun 24, 2026

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

Commits on Jun 25, 2026

  1. Add regression test for issue 451

        test test_downcast_mut ... error: Undefined Behavior: trying to retag from <137701> for Unique permission at alloc44937[0x38], but that tag only grants SharedReadOnly permission for this location
           --> src/ptr.rs:170:18
            |
        170 |         unsafe { &mut *self.ptr.as_ptr() }
            |                  ^^^^^^^^^^^^^^^^^^^^^^^ this error occurs as part of retag at alloc44937[0x38..0x50]
            |
            = help: this indicates a potential bug in the program: it performed an invalid operation, but the Stacked Borrows rules it violated are still experimental
            = help: see https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md for further information
        help: <137701> was created by a SharedReadOnly retag at offsets [0x38..0x50]
           --> src/ptr.rs:89:18
            |
         89 |             ptr: NonNull::from(ptr),
            |                  ^^^^^^^^^^^^^^^^^^
            = note: this is on thread `test_downcast_mut`
            = note: stack backtrace:
                    0: anyhow::ptr::Mut::<'_, HighLevel>::deref_mut
                        at src/ptr.rs:170:18: 170:41
                    1: anyhow::error::<impl anyhow::Error>::downcast_mut::<HighLevel>
                        at src/error.rs:560:18: 560:46
                    2: test_downcast_mut
                        at tests/test_context.rs:171:5: 171:36
                    3: test_downcast_mut::{closure#0}
                        at tests/test_context.rs:168:23: 168:23
    dtolnay committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    67c4abd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e8c000 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #452 from dtolnay/downcast

    Eliminate pointer->reference->pointer during downcast
    dtolnay authored Jun 25, 2026
    Configuration menu
    Copy the full SHA
    e621bd3 View commit details
    Browse the repository at this point in the history
  4. Release 1.0.103

    dtolnay committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    5bdb0e2 View commit details
    Browse the repository at this point in the history
Loading