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

intern: begin extracting trival identifiers from format_string strings #12343

Closed
wants to merge 2 commits into from
Closed

intern: begin extracting trival identifiers from format_string strings #12343

wants to merge 2 commits into from

Conversation

felipesere
Copy link

When expanding format_args we will use the first argument and try to find trivial identifiers such as
foo and bar in "something {foo} and {bar}".

@felipesere
Copy link
Author

Attempts to address #11260

We are trying to both look at `format!("{a} {b} {c}")`
named variables and those that just create a "slot" `{}`
@Veykril
Copy link
Member

Veykril commented Sep 12, 2022

I'll close this for now, feel free to re-open if you come back to it

@Veykril Veykril closed this Sep 12, 2022
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.

2 participants