E544 WIP: `mut_mut`: generalize the from-expansion check by ada4a · Pull Request #15419 · rust-lang/rust-clippy · GitHub
[go: up one dir, main page]

Skip to content

Conversation

ada4a
Copy link
Contributor
@ada4a ada4a commented Aug 5, 2025

The check was added in #1032, which addressed #939, which did complain about the particular case of a for-loop. But for some reason, the fix also concentrated on for-loops only. I'm pretty sure Span::from_expansion is more generally helpful.

WIP because this apparently also stops the lint from firing on the inline! proc-macro thing, which I'm not quite sure is correct?.. That would resolve #15417 (comment) though I guess

changelog: none

@rustbot
Copy link
Collaborator
rustbot commented Aug 5, 2025

r? @Alexendoo

rustbot has assigned @Alexendoo.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 5, 2025
@ada4a ada4a force-pushed the mut_mut-simpler-from-expansion-check branch from 1eaa400 to 5982c1a Compare August 7, 2025 21:55
@ada4a ada4a force-pushed the mut_mut-simpler-from-expansion-check branch from 5982c1a to d2e8b17 Compare August 10, 2025 15:21
@ada4a ada4a force-pushed the mut_mut-simpler-from-expansion-check branch from d2e8b17 to bbcaeb5 Compare August 22, 2025 13:35
@ada4a
Copy link
Contributor Author
ada4a commented Aug 24, 2025

r? clippy

@rustbot

This comment was marked as outdated.

@rustbot rustbot assigned Centri3 and unassigned Alexendoo Aug 24, 2025
@ada4a
Copy link
Contributor Author
ada4a commented Sep 11, 2025

@Centri3 friendly ping

@rustbot
Copy link
Collaborator
rustbot commented Sep 29, 2025

☔ The latest upstream changes (possibly 98a92bf) made this pull request unmergeable. Please resolve the merge conflicts.

@ada4a ada4a closed this Sep 29, 2025
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Sep 29, 2025
@ada4a ada4a deleted the mut_mut-simpler-from-expansion-check branch September 29, 2025 22:45
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.

4 participants

0