`Ptr` type should reason about `UnsafeCell` overlap
Closed this issue · 1 comments
joshlf commented
Two requirements to add to the list of internal invariants:
- During the lifetime
'a
, no code will access* this memory region treatingUnsafeCell
s as existing at different ranges than they exist inT
- During the lifetime
'a
, no reference will exist to this memory which treatsUnsafeCell
s as existing at different ranges than they exist inT
- What does "access" mean? Should this just say "loads and stores"?