You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe it is safe, as long as it owns the copy of the vector that it transmutes. That is, uses + or - mode, in today's terminology (in a mode-less world, just having the type ~[] at all would imply ownership).
…atthiaskrgr
redundant_closure_call - don't lint when used more than once
Fixesrust-lang#3354.
changelog: fix redundant_closure_call false positive when closure called more than once
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Mar 9, 2024
This PR updates the feature branch verify-std to 07-16, allowing the
proofs in std lib to be verified by the latest changes added in Kani.
This is a subset of the main branch.
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
---------
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Felipe R. Monteiro <[email protected]>
Co-authored-by: Adrian Palacios <[email protected]>
Co-authored-by: Michael Tautschnig <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: tautschnig <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Celina G. Val <[email protected]>
Co-authored-by: Matias Scharager <[email protected]>
Co-authored-by: Matias Scharager <[email protected]>
Co-authored-by: Justus Adam <[email protected]>
Co-authored-by: Felipe R. Monteiro <[email protected]>
Co-authored-by: Artem Agvanian <[email protected]>
Co-authored-by: Zyad Hassan <[email protected]>
Co-authored-by: celinval <[email protected]>
Co-authored-by: Felipe R. Monteiro <[email protected]>
It transmutes an immutable vector to a mutable vectors, but immutable vectors can be stored in readonly memory.
The text was updated successfully, but these errors were encountered: