pub fn get_iterator_item_ty<'tcx>(
    cx: &LateContext<'tcx>,
    ty: Ty<'tcx>
) -> Option<Ty<'tcx>>
Expand description

Resolves <T as Iterator>::Item for T Do not invoke without first verifying that the type implements Iterator