]> git.lizzy.rs Git - rust.git/commitdiff
Recurse into inner type when not `&Box<T>`
authorscott-linder <scott.b.linder@wmich.edu>
Thu, 2 Feb 2017 14:29:03 +0000 (09:29 -0500)
committerscott-linder <scott.b.linder@wmich.edu>
Sun, 11 Jun 2017 16:19:11 +0000 (12:19 -0400)
clippy_lints/src/types.rs

index 5751c5b0e5498180b5b945fee02484dc442df8c7..10cfa57891b7937573eefba7a849babb4af025fd 100644 (file)
@@ -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),
             }