Tobias Bucher
7f64fe4e27
Remove all i
suffixes
2015-01-30 04:38:54 +01:00
Jorge Aparicio
7d661af9c8
for x in range(a, b)
-> for x in a..b
...
sed -i 's/in range(\([^,]*\), *\([^()]*\))/in \1\.\.\2/g' **/*.rs
2015-01-29 07:47:37 -05:00
Pythoner6
aec34d8f26
Fix formatting, update copyright dates
2014-08-29 23:44:08 -04:00
Pythoner6
373b9d6243
Add support for labeled while loops.
2014-08-29 23:43:55 -04:00
Niko Matsakis
9e3d0b002a
librustc: Remove the fallback to int
from typechecking.
...
This breaks a fair amount of code. The typical patterns are:
* `for _ in range(0, 10)`: change to `for _ in range(0u, 10)`;
* `println!("{}", 3)`: change to `println!("{}", 3i)`;
* `[1, 2, 3].len()`: change to `[1i, 2, 3].len()`.
RFC #30 . Closes #6023 .
[breaking-change]
2014-06-24 17:18:48 -07:00
Huon Wilson
07351b44c6
syntax: implement labelled breaks for for
.
...
`for` desugars to `loop` so it is trivial to just desugar to `loop` while
retaining any label.
2013-09-08 22:08:01 +10:00
Corey Richardson
adb8ac4162
Fix/annotate a variety of xfails
2013-06-24 01:35:11 -04:00
Daniel Micay
86efd97a10
add gitattributes and fix whitespace issues
2013-05-03 20:01:42 -04:00
Patrick Walton
670ab8ac36
librustc: Change labels to use the lifetime notation '
.
2013-04-29 14:30:57 -07:00
Graydon Hoare
89c8ef792f
check-fast fallout from removing export, r=burningtree
2013-02-01 19:43:17 -08:00
Graydon Hoare
d1affff623
Reliciense makefiles and testsuite. Yup.
2012-12-10 17:32:58 -08:00
Patrick Walton
bdb206f285
rustc: Parse labeled loop, break, and again
2012-08-15 16:20:34 -07:00