SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 70 Rust

Rollup merge of #145585 - RalfJung:miri-inplace-arg-checks, r=compiler-errors

Miri: fix handling of in-place argument and return place handling

This fixes two separate bugs (in two separate commits):
- If the return place is `_local` and not `*ptr`, we didn't always properly protect it if there were other pointers pointing to that return place.
- If two in-place arguments are *the same* local variable, we didn't always detect that aliasing.
许杰友 Jieyou Xu (Joe) committed
5d37e8e707e74a0820e1171f200d45fd2b8fa13c
Committed by GitHub <noreply@github.com> on 8/19/2025, 11:42:11 AM