Commit d9d10c1
committed
Make mir-borrowck more closely match (draft) NLL RFC.
In particular:
* introduce the shallow/deep distinction for read/write accesses
* use the notions of prefixes, shallow prefixes, and supporting prefixes
rather than trying to recreate the restricted sets from ast-borrowck.
* Add shallow reads of Discriminant and ArrayLength, and treat them
as artificial fields when doing prefix traversals.1 parent c4c32b2 commit d9d10c1
1 file changed
+339
-81
lines changed
0 commit comments