rust/compiler/rustc_mir_transform
bors 3603a84a3d Auto merge of #111517 - lukas-code:addr-of-mutate, r=tmiasko
allow mutating function args through `&raw const`

Fixes https://github.com/rust-lang/rust/issues/111502 by "turning off the sketchy optimization while we figure out if this is ok", like `@JakobDegen` said.

The first commit in this PR removes some suspicious looking logic from the same method, but should have no functional changes, since it doesn't modify the `context` outside of the method. Best reviewed commit by commit.

r? opsem
2023-05-14 10:45:39 +00:00
..
src Auto merge of #111517 - lukas-code:addr-of-mutate, r=tmiasko 2023-05-14 10:45:39 +00:00
Cargo.toml Migrate mir_transform to translatable diagnostics 2023-05-02 16:24:18 +01:00
messages.ftl Migrate mir_transform to translatable diagnostics 2023-05-02 16:24:18 +01:00