unused_self: respect avoid-breaking-exported-api #9195
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
good first issue
These issues are a good way to get started with Clippy
Uh oh!
There was an error while loading. Please reload this page.
Description
unused_self
currently suggests converting methods to associated functions even for public APIs:unused_self
should instead respect theavoid-breaking-exported-api
option like several other lints and only trigger for public APIs if the option is set tofalse
.Version
Additional Labels
@rustbot label +C-enhancement
The text was updated successfully, but these errors were encountered: