[Easy] cargo collect-metadata
interprets anything behind a comma as a new lint
#12042
Labels
A-documentation
Area: Adding or improving documentation
A-ui
Area: Clippy interface, usage and configuration
C-bug
Category: Clippy is not doing the correct thing
Summary
While reviewing #10283, we stumbled across this bug that added
or
as a new lint to the "Affected Lints" list.This happened because there was an "[...], or [...]" in the configuration option documentation.
Reproducer
I tried this code:
I expected to see this happen (in the config's documentation):
Affected lints:
pub_underscore_fields
Instead, this happened:
Affected lints:
pub_underscore_fields
or
This was fixed by changing that comma to a semi-colon
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: