summary refs log tree commit diff
path: root/src/test/compile-fail/non-constant-expr-for-vec-repeat.rs
AgeCommit message (Collapse)AuthorLines
2014-08-24Adjust the error messages to match the pattern "expected foo, found bar"Jonas Hietala-1/+1
Closes #8492
2014-06-24librustc: Remove the fallback to `int` from typechecking.Niko Matsakis-1/+1
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]
2013-03-18Add tests for const exprs in fixed vec length type and vec repeat.Luqman Aden-0/+17