Alex Crichton
43bfaa4a33
Mass rename uint/int to usize/isize
...
Now that support has been removed, all lingering use cases are renamed.
2015-03-26 12:10:22 -07:00
Brian Anderson
8c93a79e38
rustdoc: Replace no-pretty-expanded with pretty-expanded
...
Now that features must be declared expanded source often does not compile.
This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-23 14:40:26 -07:00
Tobias Bucher
7f64fe4e27
Remove all i suffixes
2015-01-30 04:38:54 +01:00
Nick Cameron
2e86929a4a
Allow use of [_ ; n] syntax for fixed length and repeating arrays.
...
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported.
2014-12-20 15:23:29 +13:00
Alex Crichton
d03a4b0046
test: Convert statics to constants
...
Additionally, add lots of tests for new functionality around statics and
`static mut`.
2014-10-09 09:44:52 -07: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
Daniel Micay
86efd97a10
add gitattributes and fix whitespace issues
2013-05-03 20:01:42 -04:00
Tim Chevalier
fad05591e5
testsuite: more pub fn main
2013-03-27 10:09:03 -07:00
Patrick Walton
85c9fc6f8f
librustc: Remove the const declaration form everywhere
2013-03-22 22:24:35 -07:00
Luqman Aden
d7d17dc14e
Add tests for const exprs in fixed vec length type and vec repeat.
2013-03-18 17:31:42 -07:00