Closed
Description
skip_macro_invocations
option doesn't parse as documented.
Writing skip_macro_invocations=["*", "println"]
in rustfmt.toml
leads to this error:
Error: Decoding config file failed:
unknown variant `*`, expected `Name` or `All`
in `skip_macro_invocations`
Please check your config file.
It seems that parsing rules are not what is actually designed (*
or some name), but more like tagged serde enum. These config files work:
[[skip_macro_invocations]]
Name="aboba"
skip_macro_invocations = ["All"]
Metadata
Metadata
Assignees
Labels
No labels