Skip to content

Commit

Permalink
Actually, one exception to error messages unchanged.
Browse files Browse the repository at this point in the history
Do we even bother making a special case for this ?
  • Loading branch information
Vanille-N committed May 1, 2023
1 parent 117418f commit 9d8fc00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/fail/tree-borrows/strongly-protected.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ help: the strongly protected tag <TAG> was created here, in the initial state Re
|
LL | fn inner(x: &mut i32, f: fn(&mut i32)) {
| ^
help: the strongly protected tag <TAG> then transitioned from Reserved to Active due to a child write access at offsets [0x0..0x4]
--> $DIR/strongly-protected.rs:LL:CC
|
LL | drop(unsafe { Box::from_raw(raw) });
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: this corresponds to an activation
= note: BACKTRACE (of the first span):
= note: inside `std::alloc::dealloc` at RUSTLIB/alloc/src/alloc.rs:LL:CC
= note: inside `<std::alloc::Global as std::alloc::Allocator>::deallocate` at RUSTLIB/alloc/src/alloc.rs:LL:CC
Expand Down

0 comments on commit 9d8fc00

Please sign in to comment.