]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/miri/tests/fail/stacked_borrows/aliasing_mut3.stderr
attempt to clarify what the backtrace belongs to when there could be ambiguity
[rust.git] / src / tools / miri / tests / fail / stacked_borrows / aliasing_mut3.stderr
index eb6b01fc6b12bfa02690ee435ce24717923aecd6..55aaed62f4f5f8d8c9939c335fcdf4efa8548f49 100644 (file)
@@ -19,9 +19,9 @@ help: <TAG> was later invalidated at offsets [0x0..0x4] by a Unique FnEntry reta
    |
 LL |     safe_raw(xraw, xshr);
    |     ^^^^^^^^^^^^^^^^^^^^
-   = note: BACKTRACE:
+   = note: BACKTRACE (of the first span):
    = note: inside `safe` at $DIR/aliasing_mut3.rs:LL:CC
-note: inside `main` at $DIR/aliasing_mut3.rs:LL:CC
+note: inside `main`
   --> $DIR/aliasing_mut3.rs:LL:CC
    |
 LL |     safe_raw(xraw, xshr);