Ulrik Sverdrup
7d527fa96b
Implement pretty-printing of ..
and update tests.
...
Update tests to change all `&expr[]` to `&expr[..]` to make sure pretty printing
passes.
2015-02-05 18:09:12 +01:00
Jorge Aparicio
d5d7e6565a
for x in xs.iter()
-> for x in &xs
2015-02-02 13:40:18 -05:00
Tobias Bucher
7f64fe4e27
Remove all i
suffixes
2015-01-30 04:38:54 +01:00
Nick Cameron
2c92ddeda7
More fallout
2015-01-02 10:28:19 +13:00
Patrick Walton
a5bb0a3a45
librustc: Remove the fallback to int
for integers and f64
for
...
floating point numbers for real.
This will break code that looks like:
let mut x = 0;
while ... {
x += 1;
}
println!("{}", x);
Change that code to:
let mut x = 0i;
while ... {
x += 1;
}
println!("{}", x);
Closes #15201 .
[breaking-change]
2014-06-29 11:47:58 -07:00
Alex Crichton
30862a64c2
Fix run-pass tests to have 'pub fn main'
...
This is required by the check-fast target because each test is slurped up into a
submodule.
2013-09-25 00:43:37 -07:00
Daniel Micay
1008945528
remove obsolete foreach
keyword
...
this has been replaced by `for`
2013-08-03 22:48:02 -04:00
Graydon Hoare
a696f0fecb
test: add testcases for external iterators using foreach.
2013-07-30 18:50:28 -07:00