about summary refs log tree commit diff
path: root/src/test/run-pass/enum-variants.rs
AgeCommit message (Collapse)AuthorLines
2018-09-06Migrated slew of run-pass tests to various subdirectories of `ui/run-pass/`.Felix S. Klock II-26/+0
2016-08-13Ensure that attributes are spelled properly.Ahmed Charles-1/+1
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.
2014-11-20removed struct_variant feature from testsSimon Wollwage-1/+0
2014-11-17Switch to purely namespaced enumsSteven Fackler-3/+3
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-05-27std: Rename strbuf operations to stringRicho Healey-3/+3
[breaking-change]
2014-05-24core: rename strbuf::StrBuf to string::StringRicho Healey-2/+2
[breaking-change]
2014-05-14test: Remove all uses of `~str` from the test suite.Patrick Walton-5/+5
2014-04-18Replace all ~"" with "".to_owned()Richo Healey-3/+3
2014-04-14Use new attribute syntax in python files in src/etc too (#13478)Manish Goregaokar-3/+3
2014-02-07Added tests to make tidyDerek Guenther-0/+10
2013-10-06Add appropriate #[feature] directives to testsAlex Crichton-0/+1
2013-10-01remove the `float` typeDaniel Micay-2/+2
It is simply defined as `f64` across every platform right now. A use case hasn't been presented for a `float` type defined as the highest precision floating point type implemented in hardware on the platform. Performance-wise, using the smallest precision correct for the use case greatly saves on cache space and allows for fitting more numbers into SSE/AVX registers. If there was a use case, this could be implemented as simply a type alias or a struct thanks to `#[cfg(...)]`. Closes #6592 The mailing list thread, for reference: https://mail.mozilla.org/pipermail/rust-dev/2013-July/004632.html
2013-08-17Fix warnings it testsErick Tryzelaar-1/+4
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2012-12-24Assign correct types to struct-like enum variant constructorsTim Chevalier-0/+11
Before, the type was just the enum type itself, which caused an assertion failure in iter_variant in trans::base. r=brson Closes #4229