Skip to content

Commit

Permalink
Auto merge of #111517 - lukas-code:addr-of-mutate, r=tmiasko
Browse files Browse the repository at this point in the history
allow mutating function args through `&raw const`

Fixes rust-lang/rust#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
  • Loading branch information
bors committed May 14, 2023
2 parents a1391d5 + 240e314 commit 94a69c7
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 94a69c7

Please sign in to comment.