Skip to content

Conversation

A4-Tacks
Copy link
Contributor

Implement simple & -> &mut on tailexpr for generate_mut_trait_impl

#15581 (comment)

But there should definitely be a rewrite rule for &(...)[...] to &mut (...)[...], and perhaps other common cases. Just because the general problem is impossible doesn't mean the easy cases shouldn't be done; doing the easy cases is what assists are for.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 16, 2025
Copy link
Member

@ShoyuVanilla ShoyuVanilla left a comment

Choose a reason for hiding this comment

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

Thanks!

@ShoyuVanilla ShoyuVanilla added this pull request to the merge queue Jul 16, 2025
Merged via the queue into rust-lang:master with commit 1520876 Jul 16, 2025
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 16, 2025
@A4-Tacks A4-Tacks deleted the gen-mut-impl-mut branch July 17, 2025 01:48
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