-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
format_args appears to be unusable #42253
Comments
format_args! works fine as long as the value is passed directly into whatever's going to consume the |
Could you give an example? I'm not quite sure I follow. |
Hm, okay. I'll close this then; I don't think we need to do anything in that case. |
Please reopen. I'd really like to have the option to store A selection people who ran into this as well: |
This appears to reproduce across stable/beta/nightly, and basically makes
format_args!
unusable as far as I can tell. Nothing I've managed to pass in has compiled, though I have not experimented extensively. I've also included the expanded code (rustc -Zunstable-options --pretty=expanded
) which shows why this is the case.fails with:
expanded:
The text was updated successfully, but these errors were encountered: