Skip to content

[pull] master from rust-lang:master#74

Merged
pull[bot] merged 2 commits into
asukaminato0721:masterfrom
rust-lang:master
Jun 6, 2026
Merged

[pull] master from rust-lang:master#74
pull[bot] merged 2 commits into
asukaminato0721:masterfrom
rust-lang:master

Conversation

@pull

@pull pull Bot commented Jun 6, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Albab-Hasan and others added 2 commits June 6, 2026 20:52
…od()\`

fixes #20162

\`expr_require_exclusive_access\` had no \`IndexExpr\` case, so
\`container[i].mut_method()\` fell through to \`Some(false)\`. \`WRITE\` is only
set on direct assignments, so method calls through an index were not detected
as requiring exclusive access, and the container was extracted as \`&container\`
instead of \`&mut container\`.
…-method

fix: \`extract_function\` misses \`&mut\` for \`container[i].mut_method()\`
@pull pull Bot locked and limited conversation to collaborators Jun 6, 2026
@pull pull Bot added the ⤵️ pull label Jun 6, 2026
@pull pull Bot merged commit a9a66c4 into asukaminato0721:master Jun 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants