diff options
| author | sheroze1123 <mss385@cornell.edu> | 2014-11-16 00:12:52 -0500 |
|---|---|---|
| committer | sheroze1123 <mss385@cornell.edu> | 2014-11-16 00:12:52 -0500 |
| commit | f3a33ab4e8ced830250fbc9715decf419ad394fc (patch) | |
| tree | 0193455147129f587da7a8a1f8d43348b87526f6 /src | |
| parent | 4aab27bed67973c9db244cf4ddcd06e82b3bab0a (diff) | |
| download | rust-f3a33ab4e8ced830250fbc9715decf419ad394fc.tar.gz rust-f3a33ab4e8ced830250fbc9715decf419ad394fc.zip | |
Conformed the 100 char limit and changed colon to semicolon
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/middle/typeck/check/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc/middle/typeck/check/mod.rs b/src/librustc/middle/typeck/check/mod.rs index 141dd22f7e3..0d1ebac54c1 100644 --- a/src/librustc/middle/typeck/check/mod.rs +++ b/src/librustc/middle/typeck/check/mod.rs @@ -2534,7 +2534,8 @@ fn lookup_method_for_for_loop(fcx: &FnCtxt, let ty_string = fcx.infcx().ty_to_string(true_expr_type); fcx.tcx().sess.span_err(iterator_expr.span, format!("`for` loop expression has type `{}` which does \ - not implement the `Iterator` trait: maybe try .iter()", + not implement the `Iterator` trait; \ + maybe try .iter()", ty_string).as_slice()); } ty::mk_err() |
