diff options
author | bors <bors@rust-lang.org> | 2023-05-14 10:45:39 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-05-14 10:45:39 +0000 |
commit | 3603a84a3d74d0b70dbbdaa47ed8f8a306f3fe7f (patch) | |
tree | ef0a961b9fe41ee699873b51f9298b632458578c /tests/rustdoc-js-std/parser-errors.js | |
parent | 0a0e045e50352d5b8c5c99e965c16aa978a0cbe1 (diff) | |
parent | 9c418e5170a2fb125ae260af1fd94e538201888d (diff) | |
download | rust-3603a84a3d74d0b70dbbdaa47ed8f8a306f3fe7f.tar.gz |
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
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions