rust/src/compiletest
bors 5e1a691125 auto merge of #9613 : jld/rust/enum-discrim-size.r0, r=alexcrichton
Allows an enum with a discriminant to use any of the primitive integer types to store it.  By default the smallest usable type is chosen, but this can be overridden with an attribute: `#[repr(int)]` etc., or `#[repr(C)]` to match the target's C ABI for the equivalent C enum.

Also adds a lint pass for using non-FFI safe enums in extern declarations, checks that specified discriminants can be stored in the specified type if any, and fixes assorted code that was assuming int.
2013-10-30 00:31:23 -07:00
..
common.rs auto merge of #8886 : cmr/rust/test-restructure, r=cmr 2013-08-30 14:00:43 -07:00
compiletest.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
errors.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
header.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
procsrv.rs librustc: Implement the proc type as sugar for ~once fn and proc 2013-10-29 10:34:17 -07:00
runtest.rs Unbreak the debuginfo tests. 2013-10-29 09:09:20 -07:00
util.rs Remove even more of std::io 2013-10-24 14:21:57 -07:00