-
Notifications
You must be signed in to change notification settings - Fork 114
[pointer] Document validity safety invariant #2403
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
Conversation
This draft lays the groundwork for implementing the semantics described in the commit message of #2397. As of this writing, all I've added is a safety comment on the Update: On further reflection, I think we will need the following:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2403 +/- ##
==========================================
+ Coverage 87.21% 87.33% +0.12%
==========================================
Files 17 17
Lines 6390 6451 +61
==========================================
+ Hits 5573 5634 +61
Misses 817 817 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
2bf955a
to
9a83b82
Compare
9a83b82
to
144daf1
Compare
f949fb7
to
adf0e35
Compare
2ce57a9
to
163f7b9
Compare
7c48ee7
to
fec7673
Compare
fec7673
to
feb5ccf
Compare
03547a1
to
0c59508
Compare
daf3a21
to
c559aad
Compare
c559aad
to
9a5a4dd
Compare
Document the semantics of
Ptr
validity invariants on theValidity
trait.
Makes progress on #2226, #1866
This PR is on branch ptr-validity.
TransmuteFrom
framework #2408