-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Discuss hygiene with format_args!(expr)
When format_args! recieves an expression as the first argument, it attempts to expand it to a string literal. If successful, this is used as the format string and format_args! macro expansion continues as usual. This has subtle interactions with macro hygiene when implicit named arguments come into play. This commit adds dicussion around this case.
- Loading branch information
1 parent
270bada
commit 1bd2bdc
Showing
1 changed file
with
90 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters