pub fn get_iterator_item_ty<'tcx>( cx: &LateContext<'tcx>, ty: Ty<'tcx>, ) -> Option<Ty<'tcx>>
Resolves <T as Iterator>::Item for T Do not invoke without first verifying that the type implements Iterator
<T as Iterator>::Item
T
Iterator