summary refs log tree commit diff
path: root/src/test/run-pass/enum-discrim-width-stuff.rs
AgeCommit message (Collapse)AuthorLines
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-6/+2
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]
2014-05-27Move std::{reflect,repr,Poly} to a libdebug crateAlex Crichton-0/+2
This commit moves reflection (as well as the {:?} format modifier) to a new libdebug crate, all of which is marked experimental. This is a breaking change because it now requires the debug crate to be explicitly linked if the :? format qualifier is used. This means that any code using this feature will have to add `extern crate debug;` to the top of the crate. Any code relying on reflection will also need to do this. Closes #12019 [breaking-change]
2014-05-27std: Rename strbuf operations to stringRicho Healey-2/+2
[breaking-change]
2014-05-22libstd: Remove `~str` from all `libstd` modules except `fmt` and `str`.Patrick Walton-2/+2
2014-04-18Replace all ~"" with "".to_owned()Richo Healey-2/+2
2014-04-14Use new attribute syntax in python files in src/etc too (#13478)Manish Goregaokar-1/+1
2013-10-30Fix check-fast breakage in new enum test.Jed Davis-1/+1
2013-10-29Add tests for enum discriminant sizing.Jed Davis-7/+42
2013-10-29Adjust reflection for the possibility of discriminants larger than int.Jed Davis-7/+2
Not only can discriminants be smaller than int now, but they can be larger than int on 32-bit targets. This has obvious implications for the reflection interface. Without this change, things fail with LLVM assertions when we try to "extend" i64 to i32.
2013-10-17std: Move size/align functions to std::mem. #2240Brian Anderson-2/+2
2013-09-30rpass: Remove usage of fmt!Alex Crichton-2/+2
2013-08-24Add a test case for the preceding changes.Jed Davis-0/+25
This would have failed on 32-to-64-bit cross-compiles.