Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ptr type should reason about UnsafeCell overlap #873

Closed
Tracked by #5 ...
joshlf opened this issue Feb 13, 2024 · 1 comment
Closed
Tracked by #5 ...

Ptr type should reason about UnsafeCell overlap #873

joshlf opened this issue Feb 13, 2024 · 1 comment

Comments

@joshlf
Copy link
Member

joshlf commented Feb 13, 2024

Two requirements to add to the list of internal invariants:

  • During the lifetime 'a, no code will access* this memory region treating UnsafeCells as existing at different ranges than they exist in T
  • During the lifetime 'a, no reference will exist to this memory which treats UnsafeCells as existing at different ranges than they exist in T
  • What does "access" mean? Should this just say "loads and stores"?
@joshlf
Copy link
Member Author

joshlf commented Feb 17, 2024

Closed in #890

@joshlf joshlf closed this as completed Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant