Module rustc_builtin_macros::format
source · [−]Structs
Context 🔒
Contains information necessary to create a lint for a positional named argument
Encapsulates all the named arguments that have been used positionally
Enums
Position 🔒
Indicates how positional named argument (i.e. an named argument which is used by position instead of by name) is used in format string
Functions
Take the various parts of format_args!(efmt, args..., name=names...)
and construct the appropriate formatting expression.
Parses the arguments from the given list of tokens, returning the diagnostic if there’s a parse error so we can continue parsing other format! expressions.