Function clippy_utils::ty::deref_chain
source ยท pub fn deref_chain<'cx, 'tcx>(
cx: &'cx LateContext<'tcx>,
ty: Ty<'tcx>,
) -> impl Iterator<Item = Ty<'tcx>> + 'cx
Expand description
Returns the deref chain of a type, starting with the type itself.