Skip to content

Config for public API changes #6806

Closed
@camsteffen

Description

@camsteffen

Sometimes we turn off lints in cases where the suggestion would change the public API of a crate. This is a reasonable default, but I believe this should be an opt-out configuration option for all Clippy lints. Oftentimes, a crate has a public API but it is still "private" in the sense that it is only used within a single project (e.g. clippy_utils), and so API changes are not as much of a concern.

Metadata

Metadata

Assignees

Labels

A-uiArea: Clippy interface, usage and configurationC-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions