rustc_typeck: fix fallout

This commit is contained in:
Jorge Aparicio 2015-01-01 23:44:52 -05:00
parent 62ee3f1622
commit 274146d650
2 changed files with 6 additions and 6 deletions

View File

@ -1052,11 +1052,11 @@ fn constrain_callee(rcx: &mut Rcx,
}
}
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

View File

@ -428,7 +428,7 @@ fn convert_methods<'a,'tcx,'i,I>(ccx: &CrateCtxt<'a, 'tcx>,
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));