mirror of https://github.com/rust-lang/rust.git
Recurse into inner type when not `&Box<T>`
This commit is contained in:
parent
80cb48ca1a
commit
e6eaa726e2
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue