diff --git a/clippy_lints/src/types.rs b/clippy_lints/src/types.rs index 5751c5b0e54..10cfa57891b 100644 --- a/clippy_lints/src/types.rs +++ b/clippy_lints/src/types.rs @@ -191,6 +191,7 @@ fn check_ty(cx: &LateContext, ast_ty: &hir::Ty) { return; // don't recurse into the type } } + check_ty(cx, ty); }, _ => check_ty(cx, ty), }