Skip to content

Use avoid_breaking_public_api configuration in types module #7489

Closed
@xFrednet

Description

@xFrednet
Member

Clippy has a configuration value called avoid_breaking_public_api which disables lint messages suggesting changes to the public API of a crate. This configuration value should also affect lints inside the type module, as discussed in #7308 (here).

The addition of this configuration value will be a bit different as it has to be handled in the type module. I for that reason suggested doing this change for all type lints in one go after #7308 has been merged, which it has.

I plan to work on this soon, however I would also be happy to pass it up or mentor someone if they are interested. 🙃

See: #7187 for implementation examples

Activity

added
A-uiArea: Clippy interface, usage and configuration
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messages
on Jul 24, 2021
changed the title [-]Consider `avoid_breaking_public_api` configuration in types module[/-] [+]Use `avoid_breaking_public_api` configuration in types module[/+] on Jul 24, 2021
xFrednet

xFrednet commented on Aug 2, 2021

@xFrednet
MemberAuthor

@rustbot claim

added a commit that references this issue on Aug 12, 2021

Auto merge of #7560 - xFrednet:7289-configuration-for-every-type-lint…

b4d76b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-uiArea: Clippy interface, usage and configurationC-enhancementCategory: Enhancement of lints, like adding more cases or adding help messages

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @xFrednet@rustbot

    Issue actions

      Use `avoid_breaking_public_api` configuration in types module · Issue #7489 · rust-lang/rust-clippy