diff --git a/clippy_lints/src/lifetimes.rs b/clippy_lints/src/lifetimes.rs index 3600abe0d7b..fa0afd90d33 100644 --- a/clippy_lints/src/lifetimes.rs +++ b/clippy_lints/src/lifetimes.rs @@ -287,7 +287,7 @@ fn visit_ty(&mut self, ty: &'tcx Ty) { self.record(&None); } } - } + }, _ => (), } walk_ty(self, ty);