Pointer to integer casts that expose provenance are incorrectly removed #97421
Labels
A-mir-opt
Area: MIR optimizations
A-strict-provenance
Area: Strict provenance for raw pointers
C-bug
Category: This is a bug.
The pointer to integer cast has an implicit side effect of exposing the provenance, so it cannot be removed under strict provenance model.
Example of an incorrect transformation:
The text was updated successfully, but these errors were encountered: