summary refs log tree commit diff
path: root/src/test/run-pass/enum-vec-initializer.rs
AgeCommit message (Collapse)AuthorLines
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-4/+4
Now that support has been removed, all lingering use cases are renamed.
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
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-01-30Remove all `i` suffixesTobias Bucher-4/+4
2014-12-20Allow use of `[_ ; n]` syntax for fixed length and repeating arrays.Nick Cameron-4/+4
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported.
2014-11-17Switch to purely namespaced enumsSteven Fackler-2/+2
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-10-09test: Convert statics to constantsAlex Crichton-3/+3
Additionally, add lots of tests for new functionality around statics and `static mut`.
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-4/+4
floating point numbers for real. This will break code that looks like: let mut x = 0; while ... { x += 1; } println!("{}", x); Change that code to: let mut x = 0i; while ... { x += 1; } println!("{}", x); Closes #15201. [breaking-change]
2013-09-25Fix run-pass tests to have 'pub fn main'Alex Crichton-1/+1
This is required by the check-fast target because each test is slurped up into a submodule.
2013-08-17Fix warnings it testsErick Tryzelaar-5/+5
2013-07-16Permit C-style enums in vector repeat length expressions (N.B. values only, ↵Josh Matthews-0/+24
not type signatures)