]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/miri/tests/fail/stacked_borrows/invalidate_against_protector1.stderr
attempt to clarify what the backtrace belongs to when there could be ambiguity
[rust.git] / src / tools / miri / tests / fail / stacked_borrows / invalidate_against_protector1.stderr
index 1ef36b7ac10fc4c5005ded98d127b7968315d580..95fa4c51d12fdad7f3d783ffc2caefa13ad23ce6 100644 (file)
@@ -16,9 +16,9 @@ help: <TAG> is this argument
    |
 LL | fn inner(x: *mut i32, _y: &mut i32) {
    |                       ^^
-   = note: BACKTRACE:
+   = note: BACKTRACE (of the first span):
    = note: inside `inner` at $DIR/invalidate_against_protector1.rs:LL:CC
-note: inside `main` at $DIR/invalidate_against_protector1.rs:LL:CC
+note: inside `main`
   --> $DIR/invalidate_against_protector1.rs:LL:CC
    |
 LL |     inner(xraw, xref);