fn find_generic_in_ty<'tcx>( tcx: TyCtxt<'tcx>, ty: Ty<'tcx>, type_ident: &str, ) -> Option<Ty<'tcx>>
Iterate the args’ types recursively and find the matched generic one.