Skip to content

refactor: append attrs by make args instead of ted #20413

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Hmikihiro
Copy link
Contributor

@Hmikihiro Hmikihiro commented Aug 9, 2025

part of #20380

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 9, 2025
ted::insert(ted::Position::first_child_of(use_item.syntax()), attr);
}

let use_item = make::use_(scope.required_cfgs.clone(), None, use_tree).clone_for_update();
Copy link
Member

Choose a reason for hiding this comment

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

I think SyntaxFactor::use_ is more preferable here

impl () {
#[cfg(test2)]
#[cfg(test3)]
Copy link
Member

Choose a reason for hiding this comment

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

Is the purpose of this test change to verify robustness in a more layered scenario?

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