File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
branches/snap-stage3/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
2
refs/heads/master: 4eb72d268f337a8f117c86a2ac1b98336cab9e9d
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 4aab27bed67973c9db244cf4ddcd06e82b3bab0a
4
+ refs/heads/snap-stage3: f3a33ab4e8ced830250fbc9715decf419ad394fc
5
5
refs/heads/try: 0f0d21c1eb5c7be04d323e0b06faf252ad790af6
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
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