Skip to content

Commit f3a33ab

Browse files
committed
Conformed the 100 char limit and changed colon to semicolon
1 parent 4aab27b commit f3a33ab

File tree

1 file changed

+2
-1
lines changed
  • src/librustc/middle/typeck/check

1 file changed

+2
-1
lines changed

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

+2-1
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)