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
Thread 1 executing: [lazy] retag y (&mut, protect, IM)
6
+
Thread 2 executing: [lazy] retag y (&mut, protect, IM)
7
+
Thread 2 executing: spurious write x
8
+
Thread 1 executing: spurious write x (executed)
9
+
Thread 1 executing: ret y
10
+
Thread 2 executing: ret y
11
+
Thread 2 executing: ret x
12
+
Thread 1 executing: ret x
13
+
Thread 1 executing: write y
14
+
Thread 2 executing: write y
15
+
error: Undefined Behavior: write access through <TAG> at ALLOC[0x0] is forbidden
16
+
--> $DIR/reservedim_spurious_write.rs:LL:CC
17
+
|
18
+
LL | unsafe { *y.wrapping_sub(1) = 13 }
19
+
| ^^^^^^^^^^^^^^^^^^^^^^^ write access through <TAG> at ALLOC[0x0] is forbidden
20
+
|
21
+
= help: this indicates a potential bug in the program: it performed an invalid operation, but the Tree Borrows rules it violated are still experimental
22
+
= help: the accessed tag <TAG> has state Disabled which forbids this child write access
23
+
help: the accessed tag <TAG> was created here, in the initial state Reserved
0 commit comments