From e6eaa726e2aa07ca25b139f09c6f29ba71da58b7 Mon Sep 17 00:00:00 2001 From: scott-linder Date: Thu, 2 Feb 2017 09:29:03 -0500 Subject: [PATCH] Recurse into inner type when not `&Box` --- clippy_lints/src/types.rs | 1 + 1 file changed, 1 insertion(+) 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), }