File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
trunk/src/librustc/middle/typeck/check Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 4aab27bed67973c9db244cf4ddcd06e82b3bab0a
2
+ refs/heads/master: f3a33ab4e8ced830250fbc9715decf419ad394fc
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: c9f6d696420107f82304b992cf623b806995fe18
5
5
refs/heads/try: 225de0d60f8ca8dcc62ab2fd8818ebbda4b58cfe
Original file line number Diff line number Diff line change @@ -2534,7 +2534,8 @@ fn lookup_method_for_for_loop(fcx: &FnCtxt,
2534
2534
let ty_string = fcx. infcx( ) . ty_to_string( true_expr_type) ;
2535
2535
fcx. tcx( ) . sess. span_err( iterator_expr. span,
2536
2536
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()",
2538
2539
ty_string) . as_slice( ) ) ;
2539
2540
}
2540
2541
ty:: mk_err( )
You can’t perform that action at this time.
0 commit comments