Niko Matsakis
e416518e68
update test cases to reflect new messages
2016-05-02 11:47:10 -04:00
Eduard Burtescu
e64670888a
Remove integer suffixes where the types in compiled code are identical.
2015-03-05 12:38:33 +05:30
Niko Matsakis
72eb214ee4
Update suffixes en masse in tests using perl -p -i -e
2015-02-18 09:10:10 -05:00
mdinger
7b82a93be3
Fix testsuite errors
2015-01-12 01:34:13 -05:00
Corey Richardson
5a4ca31918
test fallout from isize/usize
2015-01-06 16:48:33 -05: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
P1start
f56c67ba86
Change rustc pretty-printing to print [T, ..n] instead of [T, .. n]
2014-10-03 20:39:56 +13:00
Jonas Hietala
9968ae2554
Adjust the error messages to match the pattern "expected foo, found bar"
...
Closes #8492
2014-08-24 09:53:01 +02: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
Derek Guenther
730bdb6403
Added tests to make tidy
2014-02-07 12:49:24 -06:00
Huon Wilson
28f0782260
librustc: use new [ty, .. len]
syntax for fixed vector errors.
2013-04-06 13:27:27 +11:00
Patrick Walton
142dbd65da
librustc: Remove all uses of the old [T * N]
fixed-length vector syntax
2013-03-26 21:29:34 -07:00
oncemoreification
4ffff6697b
Fix vector syntax in error messages
2013-02-22 02:19:41 -08:00