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: wip/stacked-borrows.md
+25-16
Original file line number
Diff line number
Diff line change
@@ -15,11 +15,16 @@ Stacked Borrows is also the subject of the following blog-posts:
15
15
*[Stacked Borrows 2.0](https://www.ralfj.de/blog/2019/04/30/stacked-borrows-2.html) is a re-design of Stacked Borrows 1 that maintains the original core ideas, but changes the mechanism to support more precise tracking of shared references.
16
16
*[Stacked Borrows 2.1](https://www.ralfj.de/blog/2019/05/21/stacked-borrows-2.1.html) slightly tweaks the rules for read and write accesses and describes a high-level way of thinking about the new shape of the "stack" in Stacked Borrows 2.
17
17
18
-
Changes compared to the latest post (2.1):
18
+
Changes from to the latest post (2.1) to the paper:
19
19
20
20
* Retags are "shallow" instead of recursively looking for references inside compound types.
21
21
* Reborrowing of a shared reference, when searching for `UnsafeCell`, no longer reads enum discriminants. It treats enums like unions now.
22
22
23
+
Changes since publication of the paper:
24
+
25
+
* HACK: Mutable references to `!Unpin` types do not make uniqueness assumptions.
26
+
* Items with `SharedReadWrite` permission are not protected even with `FnEntry` retagging.
0 commit comments