Skip to content

Enhance renaming to include identifiers that are generated from the original symbol #19825

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

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

Conversation

shepmaster
Copy link
Member

If you have some code like

#[cool_thing]
struct Alpha;

which expands into

struct Alpha;

struct AlphaChild;

Then renaming Alpha to Beta will also rename AlphaChild to BetaChild, so long as the procedural macro applies the span of the original identifier to the generated identifier(s).

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.

1 participant