Skip to content

Commit 0380f01

Browse files
committed
---
yaml --- r: 160446 b: refs/heads/master c: f3a33ab h: refs/heads/master v: v3
1 parent 57f4996 commit 0380f01

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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: 4aab27bed67973c9db244cf4ddcd06e82b3bab0a
2+
refs/heads/master: f3a33ab4e8ced830250fbc9715decf419ad394fc
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c9f6d696420107f82304b992cf623b806995fe18
55
refs/heads/try: 225de0d60f8ca8dcc62ab2fd8818ebbda4b58cfe

trunk/src/librustc/middle/typeck/check/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2534,7 +2534,8 @@ fn lookup_method_for_for_loop(fcx: &FnCtxt,
25342534
let ty_string = fcx.infcx().ty_to_string(true_expr_type);
25352535
fcx.tcx().sess.span_err(iterator_expr.span,
25362536
format!("`for` loop expression has type `{}` which does \
2537-
not implement the `Iterator` trait: maybe try .iter()",
2537+
not implement the `Iterator` trait; \
2538+
maybe try .iter()",
25382539
ty_string).as_slice());
25392540
}
25402541
ty::mk_err()

0 commit comments

Comments
 (0)