summary refs log tree commit diff
path: root/src/test/compile-fail/non-constant-enum-for-vec-repeat.rs
AgeCommit message (Collapse)AuthorLines
2015-04-01Fallout from changes for overflow-checking during constant evaluation.Felix S. Klock II-1/+4
2015-01-08Update compile fail tests to use usize.Huon Wilson-1/+1
2014-12-20Allow use of `[_ ; n]` syntax for fixed length and repeating arrays.Nick Cameron-1/+1
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported.
2014-11-17Switch to purely namespaced enumsSteven Fackler-1/+1
This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change]
2014-11-16Update tests accordinglyJakub Bukaj-1/+1
2014-08-24Adjust the error messages to match the pattern "expected foo, found bar"Jonas Hietala-1/+1
Closes #8492
2014-03-21test: Make manual changes to deal with the fallout from removal ofPatrick Walton-1/+1
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-21test: Automatically remove all `~[T]` from tests.Patrick Walton-1/+1
2014-02-07Added tests to make tidyDerek Guenther-1/+2
2014-01-31Add test cases for #4063.OGINO Masanori-0/+15
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>