Skip to content

Commit 923b570

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 167870 b: refs/heads/master c: 274146d h: refs/heads/master v: v3
1 parent 085e951 commit 923b570

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 62ee3f1622183dfab2ed5894e9ab61deda416e9a
2+
refs/heads/master: 274146d650e9c5ef476cb31bbc47e555ed4d359b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c89417130f042c58adc60012e7cddc4ef70b70b9
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb

trunk/src/librustc_typeck/check/regionck.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,11 +1052,11 @@ fn constrain_callee(rcx: &mut Rcx,
10521052
}
10531053
}
10541054

1055-
fn constrain_call<'a, I: Iterator<&'a ast::Expr>>(rcx: &mut Rcx,
1056-
call_expr: &ast::Expr,
1057-
receiver: Option<&ast::Expr>,
1058-
mut arg_exprs: I,
1059-
implicitly_ref_args: bool) {
1055+
fn constrain_call<'a, I: Iterator<Item=&'a ast::Expr>>(rcx: &mut Rcx,
1056+
call_expr: &ast::Expr,
1057+
receiver: Option<&ast::Expr>,
1058+
mut arg_exprs: I,
1059+
implicitly_ref_args: bool) {
10601060
//! Invoked on every call site (i.e., normal calls, method calls,
10611061
//! and overloaded operators). Constrains the regions which appear
10621062
//! in the type of the function. Also constrains the regions that

trunk/src/librustc_typeck/collect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ fn convert_methods<'a,'tcx,'i,I>(ccx: &CrateCtxt<'a, 'tcx>,
428428
untransformed_rcvr_ty: Ty<'tcx>,
429429
rcvr_ty_generics: &ty::Generics<'tcx>,
430430
rcvr_visibility: ast::Visibility)
431-
where I: Iterator<&'i ast::Method> {
431+
where I: Iterator<Item=&'i ast::Method> {
432432
debug!("convert_methods(untransformed_rcvr_ty={}, rcvr_ty_generics={})",
433433
untransformed_rcvr_ty.repr(ccx.tcx),
434434
rcvr_ty_generics.repr(ccx.tcx));

0 commit comments

Comments
 (0)