Skip to content

Commit 216f5f7

Browse files
author
scott-linder
committed
Recurse into inner type when not &Box<T>
1 parent b1fca3b commit 216f5f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/types.rs

+1
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ fn check_ty(cx: &LateContext, ast_ty: &Ty) {
190190
return; // don't recurse into the type
191191
}
192192
}
193+
check_ty(cx, ty);
193194
},
194195
_ => check_ty(cx, ty),
195196
}

0 commit comments

Comments
 (0)