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
..
2023-05-01 23:12:41 -04:00
2023-05-07 11:10:52 +00:00
2023-05-06 22:32:39 -06:00
2023-05-08 03:55:41 -07:00
2023-05-06 23:22:32 -04:00
2023-05-10 15:26:51 +00:00