Move COGNITIVE_COMPLEXITY to use macro again
This commit is contained in:
parent
ddad55f6c2
commit
1dcfa27144
5 changed files with 45 additions and 49 deletions
|
@ -64,7 +64,7 @@ declare_lint! {
|
|||
};
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Default)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub(crate) struct ShadowedIntoIter;
|
||||
|
||||
impl_lint_pass!(ShadowedIntoIter => [ARRAY_INTO_ITER, BOXED_SLICE_INTO_ITER]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue