pub(crate) fn vec_elem_ty<'tcx>( _tcx: TyCtxt<'tcx>, ty: Ty<'tcx>, ) -> Option<Ty<'tcx>>
Element type of a Vec<T>, if ty is a Vec.
Vec<T>
ty
Vec