Skip to content

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Sep 24, 2024

Closes #277.

    warning: the type of the `self` parameter does not need to be arbitrary
        --> tests/test.rs:1656:24
         |
    1656 |         async fn f(mut self: &Self) {
         |                        ^^^^^^^^^^^ help: consider to change this parameter to: `&'life0 self`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_arbitrary_self_type
         = note: `#[warn(clippy::needless_arbitrary_self_type)]` on by default
@dtolnay dtolnay merged commit bfe8d61 into master Sep 24, 2024
17 checks passed
@dtolnay dtolnay deleted the arbself branch September 24, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Macro-generated false positive for clippy::needless_arbitrary_self_type
1 participant