Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal: Migrate if let replacement assists to SyntaxEditor #18855

Merged
merged 12 commits into from
Jan 8, 2025

Conversation

Giga-Bowser
Copy link
Contributor

Part of #15710 and #18285

This PR migrates the replace_let_with_if_let, replace_if_let_with_match, and replace_match_with_if_let assists. It also cleans up a few of the old make:: constructors which should make future migrations easier, and also subtly hint at the kind of API we'd want from the new SyntaxFactory constructors.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 6, 2025
@Veykril Veykril added this pull request to the merge queue Jan 8, 2025
@Veykril
Copy link
Member

Veykril commented Jan 8, 2025

Thanks!

Merged via the queue into rust-lang:master with commit 1e975d6 Jan 8, 2025
9 checks passed
@Giga-Bowser Giga-Bowser deleted the migrate-if-let branch January 10, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants