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
{{ message }}
Repository navigation
Miri engine is too permissive with type-changing MIR assignments #70405
just checks whether the layout of the target and value of an assignment is the same. The only time the types can differ is when assigning a &mut T to a &T variable. We should instead employ a function like
changed the title [-]Miri engine is too permissive with MIR assignments[/-][+]Miri engine is too permissive with type-changing MIR assignments[/+]on Mar 26, 2020
I'm not sure, I think we should experiment with deeper lifetime erasure but I likely won't have the time to get involved myself any time soon. Maybe that should have its own issue though.
Activity
[-]Miri engine is too permissive with MIR assignments[/-][+]Miri engine is too permissive with type-changing MIR assignments[/+]Rollup merge of rust-lang#70532 - RalfJung:miri-assign, r=eddyb
RalfJung commentedon Apr 3, 2020
@eddyb do we want to keep this open, as you have some future plans for checking subtyping or some such thing?
eddyb commentedon Apr 3, 2020
I'm not sure, I think we should experiment with deeper lifetime erasure but I likely won't have the time to get involved myself any time soon. Maybe that should have its own issue though.