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
Copy file name to clipboardExpand all lines: tests/fail/both_borrows/spurious_write_may_be_added.tree.stderr
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,11 @@ help: the accessed tag <TAG> was created here, in the initial state Frozen
12
12
|
13
13
LL | let target_alias = &*target;
14
14
| ^^^^^^^^
15
-
help: the accessed tag <TAG> later transitioned to Disabled due to a protector release (acting as a foreign write access) on every location previously accessed by this tag
15
+
help: the accessed tag <TAG> later transitioned to Disabled due to a reborrow (acting as a foreign read access) at offsets [0x0..0x4]
= help: this indicates a potential bug in the program: it performed an invalid operation, but the Tree Borrows rules it violated are still experimental
10
10
= help: see https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/tree-borrows.md for further information
11
-
= help: the accessed tag <TAG> is foreign to the protected tag <TAG> (i.e., it is not a child)
12
-
= help: this foreign read access would cause the protected tag <TAG> (currently Active) to become Disabled
13
-
= help: protected tags must never be Disabled
14
-
help: the accessed tag <TAG> was created here
11
+
= help: the accessed tag <TAG> has state Disabled which forbids this child read access
12
+
help: the accessed tag <TAG> was created here, in the initial state Frozen
0 commit comments