Update the standard library to use the new NonNull::without_provenance
#135343
Labels
A-strict-provenance
Area: Strict provenance for raw pointers
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-tedious
Call for participation: An issue involves lots of work and is better handled as many small tasks.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
The function is new, cc #135243
But there's a bunch of places in the code that can be simplified now that it exists. A couple I found quickly:
It would be nice to simplify those like
and
(or whatever it would be) to have shorter code that needs to prove fewer soundness preconditions.
The text was updated successfully, but these errors were encountered: