]> git.lizzy.rs Git - rust.git/commit
Improve `multiple_inherent_impl` lint
authorJason Newcomb <jsnewcomb@pm.me>
Thu, 15 Apr 2021 16:20:43 +0000 (12:20 -0400)
committerJason Newcomb <jsnewcomb@pm.me>
Tue, 18 May 2021 15:45:51 +0000 (11:45 -0400)
commit760f70312e6b894427cfc68a066bc1e87513337c
treecf223be033deee4a5d88dd114e495bbef612c442
parentb1c675f3fc682201cdb28719133285b878e2d157
Improve `multiple_inherent_impl` lint
Treat different generic arguments as different types.
Allow the lint to be ignored on the type definition, or any impl blocks.
clippy_lints/src/inherent_impl.rs
clippy_lints/src/lib.rs
tests/ui/impl.rs
tests/ui/impl.stderr