}
}
-fn constrain_call<'a, I: Iterator<&'a ast::Expr>>(rcx: &mut Rcx,
- call_expr: &ast::Expr,
- receiver: Option<&ast::Expr>,
- mut arg_exprs: I,
- implicitly_ref_args: bool) {
+fn constrain_call<'a, I: Iterator<Item=&'a ast::Expr>>(rcx: &mut Rcx,
+ call_expr: &ast::Expr,
+ receiver: Option<&ast::Expr>,
+ mut arg_exprs: I,
+ implicitly_ref_args: bool) {
//! Invoked on every call site (i.e., normal calls, method calls,
//! and overloaded operators). Constrains the regions which appear
//! in the type of the function. Also constrains the regions that
untransformed_rcvr_ty: Ty<'tcx>,
rcvr_ty_generics: &ty::Generics<'tcx>,
rcvr_visibility: ast::Visibility)
- where I: Iterator<&'i ast::Method> {
+ where I: Iterator<Item=&'i ast::Method> {
debug!("convert_methods(untransformed_rcvr_ty={}, rcvr_ty_generics={})",
untransformed_rcvr_ty.repr(ccx.tcx),
rcvr_ty_generics.repr(ccx.tcx));