future cleanup: remove allow(clippy::use_self) once we rustup past 2021-02-26. #459
Labels
a: rust-lang
Issues specific to rust-lang/rust.
c: rustc_codegen_spirv
Issues specific to the rustc_codegen_spirv crate.
t: enhancement
A new feature or improvement to an existing one.
I've been leaving
#[allow(clippy::use_self)]
across the codebase in places where the lint is wrong andSelf
can't be written (either type parameter mismatch likeFoo<T>
vsFoo<U>
, or nested items that couldn't possibly nameSelf
, etc.).I suspect rust-lang/rust-clippy#6179 fixed most (if not all) of the
use_self
bugs, and that seems to be part of rust-lang/rust#82514, and so was likely included in the2021-02-26
nightly.I can't reproduce the bugs on the Rust playground, and that seems to only provide latest nightly for tools (i.e. Stable/Beta/Nightly toggle is ignored), so that seems to agree with my expectations.
The text was updated successfully, but these errors were encountered: