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

Remove obsolete safety proofs #2423

Merged
merged 2 commits into from
Mar 8, 2025
Merged

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Mar 6, 2025

In #2408, we simplified the safety precondition of unsafe_impl!, but
did not remove safety proofs at call sites made redundant by that
simplification. This commit removes those now-obsolete proofs.


This PR is on branch cell-traits.

@joshlf joshlf requested a review from jswrenn March 6, 2025 23:38
@joshlf joshlf force-pushed the I569b74086a5f98cda71b4a4131f9ce4f89dcc623 branch from 6804ba4 to e9e0c22 Compare March 7, 2025 00:12
@joshlf joshlf force-pushed the I70d5aa5ace6bd2e39e679eac7f00a66d4b843d57 branch from 39d58a9 to 4acef46 Compare March 7, 2025 00:12
@codecov-commenter
Copy link

codecov-commenter commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.53%. Comparing base (1da86a4) to head (f2ec335).

Additional details and impacted files
@@                            Coverage Diff                             @@
##           I569b74086a5f98cda71b4a4131f9ce4f89dcc623    #2423   +/-   ##
==========================================================================
  Coverage                                      87.53%   87.53%           
==========================================================================
  Files                                             18       18           
  Lines                                           6408     6408           
==========================================================================
  Hits                                            5609     5609           
  Misses                                           799      799           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshlf joshlf force-pushed the I569b74086a5f98cda71b4a4131f9ce4f89dcc623 branch from e9e0c22 to 5d6aea8 Compare March 7, 2025 00:19
@joshlf joshlf force-pushed the I70d5aa5ace6bd2e39e679eac7f00a66d4b843d57 branch from 4acef46 to 54a93ee Compare March 7, 2025 00:19
@joshlf joshlf force-pushed the I569b74086a5f98cda71b4a4131f9ce4f89dcc623 branch from 5d6aea8 to 8b454f6 Compare March 7, 2025 00:25
@joshlf joshlf force-pushed the I70d5aa5ace6bd2e39e679eac7f00a66d4b843d57 branch from 54a93ee to 4f87922 Compare March 7, 2025 00:25
@joshlf joshlf force-pushed the I569b74086a5f98cda71b4a4131f9ce4f89dcc623 branch from 8b454f6 to 018c8d4 Compare March 7, 2025 18:50
@joshlf joshlf force-pushed the I70d5aa5ace6bd2e39e679eac7f00a66d4b843d57 branch from 4f87922 to 20c8d98 Compare March 7, 2025 18:50
@joshlf joshlf force-pushed the I70d5aa5ace6bd2e39e679eac7f00a66d4b843d57 branch from 20c8d98 to 4d09d7c Compare March 7, 2025 22:27
@joshlf joshlf force-pushed the I569b74086a5f98cda71b4a4131f9ce4f89dcc623 branch from 018c8d4 to 6d4d811 Compare March 7, 2025 22:27
joshlf added 2 commits March 8, 2025 08:58

Verified

This commit was signed with the committer’s verified signature.
bentonam Aaron
Closes #1253

gherrit-pr-id: I569b74086a5f98cda71b4a4131f9ce4f89dcc623

Verified

This commit was signed with the committer’s verified signature.
bentonam Aaron
In #2408, we simplified the safety precondition of `unsafe_impl!`, but
did not remove safety proofs at call sites made redundant by that
simplification. This commit removes those now-obsolete proofs.

gherrit-pr-id: I70d5aa5ace6bd2e39e679eac7f00a66d4b843d57
@joshlf joshlf force-pushed the I70d5aa5ace6bd2e39e679eac7f00a66d4b843d57 branch from 4d09d7c to f2ec335 Compare March 8, 2025 16:58
@joshlf joshlf force-pushed the I569b74086a5f98cda71b4a4131f9ce4f89dcc623 branch from 6d4d811 to 1da86a4 Compare March 8, 2025 16:58
Base automatically changed from I569b74086a5f98cda71b4a4131f9ce4f89dcc623 to main March 8, 2025 18:46
@joshlf joshlf added this pull request to the merge queue Mar 8, 2025
Merged via the queue into main with commit 04cafb2 Mar 8, 2025
173 checks passed
@joshlf joshlf deleted the I70d5aa5ace6bd2e39e679eac7f00a66d4b843d57 branch March 8, 2025 19:16
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

Successfully merging this pull request may close these issues.

None yet

3 participants