Structs§
Enums§
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)
).