-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pointer][invariant] Remove AliasingMapping
We previously used these to model `UnsafeCell` agreement, but that only works when we support an `Inaccessible` aliasing invariant, which we don't anymore. Future commits will use a different mechanism to model `UnsafeCell` agreement. There is no other circumstance under which a pointer can change its aliasing model. While we're here, make `Read` slightly more permissive, implemented for `A: Aliasing, T: Immutable` rather than just `A: Reference, T: Immutable`. Makes progress on #1122, #1866 gherrit-pr-id: I1ac2ae177a235083e33b09fc848423220d3da042
- Loading branch information
Showing
1 changed file
with
4 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters