Recurse into inner type when not &Box<T>

This commit is contained in:
scott-linder 2017-02-02 09:29:03 -05:00
parent 80cb48ca1a
commit e6eaa726e2

View 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),
}