Skip to content

In handlers/extract_module.rs, generate ast::Module instead of String #20373

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

Conversation

Hmikihiro
Copy link
Contributor

@Hmikihiro Hmikihiro commented Aug 3, 2025

When I migrate to use 'SyntaxEditor', It needs AstNode instead of String.

bug fix:

2025-08-04.18.04.35.mov

to:

2025-08-04.18.11.03.mov

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 3, 2025
@Hmikihiro Hmikihiro changed the title In extract_module.rs, generate ast::Module instead of String In handlers/extract_module.rs, generate ast::Module instead of String Aug 3, 2025
@Hmikihiro Hmikihiro force-pushed the generate_module_as_ast_instead_of_str branch from e8e23b1 to 794dd86 Compare August 3, 2025 14:42
Copy link
Contributor

@DropDemBits DropDemBits left a comment

Choose a reason for hiding this comment

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

It's been a bit since I've done a review, so take these suggestions with a grain of salt 😅

@Hmikihiro Hmikihiro force-pushed the generate_module_as_ast_instead_of_str branch 2 times, most recently from 88c51bc to e6ee6bd Compare August 4, 2025 08:51
@Hmikihiro Hmikihiro force-pushed the generate_module_as_ast_instead_of_str branch from e6ee6bd to fcd4010 Compare August 6, 2025 17:38
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 Aug 7, 2025
Merged via the queue into rust-lang:master with commit 8c52d11 Aug 7, 2025
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 7, 2025
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