Skip to content

feat(diagnostics): mut_ref binding feature diagnostic#22406

Merged
ChayimFriedman2 merged 3 commits into
rust-lang:masterfrom
hallmason17:feature/mut_ref_binding
May 19, 2026
Merged

feat(diagnostics): mut_ref binding feature diagnostic#22406
ChayimFriedman2 merged 3 commits into
rust-lang:masterfrom
hallmason17:feature/mut_ref_binding

Conversation

@hallmason17
Copy link
Copy Markdown
Contributor

@hallmason17 hallmason17 commented May 19, 2026

#22140

This PR attempts to address a FIXME in hir-ty/src/infer/pat.rs where a binding is taken by ref and mut without the #![feature(mut_ref)] being enabled.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 19, 2026
@hallmason17
Copy link
Copy Markdown
Contributor Author

If I'm too far off just let me know and I'll close it.

Copy link
Copy Markdown
Contributor

@ChayimFriedman2 ChayimFriedman2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChayimFriedman2 ChayimFriedman2 added this pull request to the merge queue May 19, 2026
Merged via the queue into rust-lang:master with commit 4ee433d May 19, 2026
18 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants