-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pin<&mut self> triggers "wrong_self_convention" #4546
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
Comments
The lint should probably be changed. Example from the standard library using similar naming/signature: This is related to issue #4293. |
Wanted to add that what I was doing here ended up not being a great API either way because it conflicts with the built-in Pin methods. |
flip1995
added
good-first-issue
These issues are a good way to get started with Clippy
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
labels
Sep 17, 2019
I just ran into this issue. |
lengyijun
added a commit
to lengyijun/rust-clippy
that referenced
this issue
Sep 17, 2021
Merged
lengyijun
added a commit
to lengyijun/rust-clippy
that referenced
this issue
Sep 19, 2021
lengyijun
added a commit
to lengyijun/rust-clippy
that referenced
this issue
Sep 22, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Clippy doesn't like it when we use
Pin
over theSelf
type:input
output
This seems like it might be related to #4037 and #3414. Though it's also possible this may be working exactly as intended, but I'm not sure.
The text was updated successfully, but these errors were encountered: