From 3edfd5ec3d6d4777233638aadca3d05b69398935 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Wed, 2 Feb 2022 12:44:51 +0100 Subject: [PATCH] Remove defaultness from ImplItem. --- clippy_lints/src/utils/inspector.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/clippy_lints/src/utils/inspector.rs b/clippy_lints/src/utils/inspector.rs index b58325ac73ee9..8691148313702 100644 --- a/clippy_lints/src/utils/inspector.rs +++ b/clippy_lints/src/utils/inspector.rs @@ -54,9 +54,6 @@ impl<'tcx> LateLintPass<'tcx> for DeepCodeInspector { ), hir::VisibilityKind::Inherited => println!("visibility inherited from outer item"), } - if item.defaultness.is_default() { - println!("default"); - } match item.kind { hir::ImplItemKind::Const(_, body_id) => { println!("associated constant");