rust/compiler
Samuel Tardieu 0b8d7b19a6
Rollup merge of #145744 - RalfJung:miri-inplace-aliasing, r=compiler-errors
miri: also detect aliasing of in-place argument and return place

This is a follow-up to https://github.com/rust-lang/rust/pull/145585 where I forgot to deal with the case of the return place aliasing an in-place argument -- as ``@Amanieu`` mentioned in https://github.com/rust-lang/rust/issues/71117#issuecomment-3212885817, that case must also be forbidden.

r? ``@compiler-errors``
2025-08-23 22:22:19 +02:00
..