Structs§
- Macro
Input π
Enums§
- Position
Used πAs
Functions§
- expand_
format_ πargs - expand_
format_ πargs_ impl - expand_
format_ πargs_ nl - invalid_
placeholder_ πtype_ error - make_
format_ πargs - parse_
args π - 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.
- report_
invalid_ πreferences - Handle invalid references to positional arguments. Output different errors for the case where all arguments are positional and for when there are named arguments or numbered positional arguments in the format string.
- report_
missing_ πplaceholders - report_
redundant_ πformat_ arguments - This function detects and reports unused format!() arguments that are
redundant due to implicit captures (e.g.
format!("{x}", x)
).