Skip to content

Commit cfd5198

Browse files
author
scott-linder
committed
Recurse into inner type when not &Box<T>
1 parent 8905cb7 commit cfd5198

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
@@ -189,6 +189,7 @@ fn check_ty(cx: &LateContext, ast_ty: &Ty) {
189189
return; // don't recurse into the type
190190
}
191191
}
192+
check_ty(cx, ty);
192193
},
193194
_ => check_ty(cx, ty),
194195
}

0 commit comments

Comments
 (0)