Move COGNITIVE_COMPLEXITY to use macro again

This commit is contained in:
blyxyas 2024-10-19 17:47:16 +02:00
parent ddad55f6c2
commit 1dcfa27144
5 changed files with 45 additions and 49 deletions

View file

@ -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]);