You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: tests/fail/stacked_borrows/disable_mut_does_not_merge_srw.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@ LL | let _val = *raw;
9
9
|
10
10
= help: this indicates a potential bug in the program: it performed an invalid operation, but the Stacked Borrows rules it violated are still experimental
11
11
= help: see https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/stacked-borrows.md for further information
12
-
help: <TAG> was created by a retag at offsets [0x0..0x4]
12
+
help: <TAG> was created by a SharedReadWrite retag at offsets [0x0..0x4]
13
13
--> $DIR/disable_mut_does_not_merge_srw.rs:LL:CC
14
14
|
15
15
LL | mutref as *mut i32
16
16
| ^^^^^^
17
-
help: <TAG> was later invalidated at offsets [0x0..0x4]
17
+
help: <TAG> was later invalidated at offsets [0x0..0x4] by a write access
0 commit comments