rust/src/libcore
bors 8d1a09c810 auto merge of #6348 : sstewartgallus/rust/incoming, r=brson
In this commit I added a useful utility type, named Void, that encapsulates the
doable but annoying job of creating an uninhabited type. As well, a function on
that type, named absurd, was created which is useful for ignoring the result of
matching on that type. No unit tests were created because it is not possible to
create an instance of this type to test the usage of.

This type is useful because it is like NonCopyable in that it can be used to
create a type with special characteristics without special bloat. For instance,
instead of typing pub struct PhantomType { priv contents : () } for each void
type one may want to use one can simply type pub struct PhantomType (Void);.
This type make such special cases much easier to write.
2013-05-12 16:07:40 -07:00
..
num Make Float::classify matching more clear for f64 and f32 2013-05-13 07:57:27 +10:00
rand libcore: Remove mutable fields from rand. 2013-05-08 17:03:58 -07:00
rt Warning police 2013-05-11 20:36:44 -07:00
str
task Warning police 2013-05-11 20:36:44 -07:00
unstable core: Make intrinsics::forget unsafe, too 2013-05-09 15:28:28 -07:00
at_vec.rs auto merge of #6345 : seanmoon/rust/fix-typos, r=sanxiyn 2013-05-09 03:51:32 -07:00
bool.rs
cast.rs Make staged versions of the functions that use uninit 2013-05-09 23:05:17 +12:00
cell.rs Stop using the '<->' operator 2013-05-10 22:51:06 -04:00
char.rs
cleanup.rs core: Use the new for protocol 2013-05-10 02:46:18 -04:00
clone.rs
cmp.rs
comm.rs Warning police 2013-05-11 20:36:44 -07:00
condition.rs clean up the last bit of warnings 2013-05-11 20:36:47 -07:00
container.rs core: Use the new for protocol 2013-05-10 02:46:18 -04:00
core.rc Warning police 2013-05-11 20:36:44 -07:00
either.rs libcore: rename vec::each(variable) to variable.each 2013-05-09 14:17:18 +09:00
from_str.rs
gc.rs core: Use the new for protocol 2013-05-10 02:46:18 -04:00
hash.rs libstd: rename vec::each(var) to var.each 2013-05-09 14:20:04 +09:00
hashmap.rs Stop using the '<->' operator 2013-05-10 22:51:06 -04:00
io.rs auto merge of #6389 : sonwow/rust/issue-3356, r=bstrie 2013-05-11 12:55:49 -07:00
iter.rs test: Use the new for protocol 2013-05-10 19:20:20 -04:00
iterator.rs core: Use the new for protocol 2013-05-10 02:46:18 -04:00
kinds.rs
libc.rs improve MIPS backend and implement segmented stacks 2013-05-09 16:51:42 +08:00
local_data.rs Move core::task::local_data to core::local_data 2013-05-10 11:42:45 +09:00
logging.rs
macros.rs
managed.rs
nil.rs
old_iter.rs libcore: Change each_val to follow new for-loop protocol 2013-05-12 08:06:31 +09:00
ops.rs
option.rs core: Use the new for protocol 2013-05-10 02:46:18 -04:00
os.rs clean up the last bit of warnings 2013-05-11 20:36:47 -07:00
owned.rs
path.rs auto merge of #6389 : sonwow/rust/issue-3356, r=bstrie 2013-05-11 12:55:49 -07:00
pipes.rs Warning police 2013-05-11 20:36:44 -07:00
prelude.rs Move core::task::local_data to core::local_data 2013-05-10 11:42:45 +09:00
ptr.rs auto merge of #6327 : z0w0/rust/rm-notest, r=brson 2013-05-08 18:15:41 -07:00
rand.rs clean up the last bit of warnings 2013-05-11 20:36:47 -07:00
reflect.rs Warning police 2013-05-11 20:36:44 -07:00
repr.rs librustc: Fix merge fallout. 2013-05-08 17:04:00 -07:00
result.rs libcore: rename vec::each(variable) to variable.each 2013-05-09 14:17:18 +09:00
run.rs libcore: rename vec::each(variable) to variable.each 2013-05-09 14:17:18 +09:00
stackwalk.rs core: Use the new for protocol 2013-05-10 02:46:18 -04:00
str.rs auto merge of #6389 : sonwow/rust/issue-3356, r=bstrie 2013-05-11 12:55:49 -07:00
sys.rs
to_bytes.rs core: Use the new for protocol 2013-05-10 02:46:18 -04:00
to_str.rs Add use declaration for container::Set 2013-05-12 21:02:12 +05:30
trie.rs core: Use the new for protocol 2013-05-10 02:46:18 -04:00
tuple.rs
unicode.rs
unstable.rs auto merge of #6327 : z0w0/rust/rm-notest, r=brson 2013-05-08 18:15:41 -07:00
util.rs auto merge of #6348 : sstewartgallus/rust/incoming, r=brson 2013-05-12 16:07:40 -07:00
vec.rs libcore: Change each_val to follow new for-loop protocol 2013-05-12 08:06:31 +09:00