rust/src/libcore
bors e25542cb02 Auto merge of #35162 - canndrew:bang_type_coerced, r=nikomatsakis
Implement the `!` type

This implements the never type (`!`) and hides it behind the feature gate `#[feature(never_type)]`. With the feature gate off, things should build as normal (although some error messages may be different). With the gate on, `!` is usable as a type and diverging type variables (ie. types that are unconstrained by anything in the code) will default to `!` instead of `()`.
2016-08-16 00:12:12 -07:00
..
fmt Rename empty/bang to never 2016-08-13 21:37:09 +08:00
hash Add BuildHasher example 2016-07-22 16:38:16 +02:00
iter Indicate tracking issue for exact_size_is_empty unstability. 2016-08-06 15:16:32 -04:00
num Add non-panicking abs() functions to all signed integer types. 2016-07-28 09:05:43 -07:00
prelude Add missing annotations and some tests 2015-11-18 01:24:21 +03:00
str Add documentation example for str::Chars::as_str. 2016-07-28 08:54:48 -04:00
sync Use an existing constant name as an example. 2016-08-11 11:41:44 +01:00
any.rs Improve std::any module doc 2016-07-10 19:41:50 +02:00
array.rs Fix broken links for core primitives 2016-03-01 20:44:48 +08:00
borrow.rs Move the Borrow and BorrowMut traits to libcore. 2015-08-22 13:58:39 +02:00
Cargo.toml No build.rs for libcore 2016-06-04 15:10:26 -07:00
cell.rs Rollup merge of #35392 - malbarbo:cell-from, r=brson 2016-08-14 20:29:47 +03:00
char.rs Rename char::escape to char::escape_debug and add tracking issue 2016-07-28 02:20:49 +02:00
char_private.rs Escape fewer Unicode codepoints in Debug impl of str 2016-07-23 00:18:44 +02:00
clone.rs Prefer ClassName over Self in example trait implementations 2016-05-23 13:14:15 -04:00
cmp.rs Rename empty/bang to never 2016-08-13 21:37:09 +08:00
convert.rs fix small typos in std::convert documentation 2016-08-12 12:20:56 -04:00
default.rs Move all Default docs from module to trait 2016-05-23 13:47:28 -04:00
intrinsics.rs Rollup merge of #34609 - ubsan:transmute_docs, r=steveklabnik 2016-07-26 17:21:11 -04:00
iter_private.rs specialize zip: Introduce TrustedRandomAccess trait 2016-06-14 15:50:49 +02:00
lib.rs Rename empty/bang to never 2016-08-13 21:37:09 +08:00
macros.rs Be more explicit about duck typing 2016-08-04 04:33:50 +03:00
marker.rs Add Derive not possible question to Copy 2016-08-01 05:43:13 +00:00
mem.rs Support 16-bit pointers as well as i/usize 2016-05-19 13:55:13 -04:00
nonzero.rs Register new snapshots 2015-12-21 09:26:21 -08:00
ops.rs Stabilize FnOnce::Output + Fix rebase 2016-07-08 13:35:17 +03:00
option.rs core: impl From<T> for Option<T> 2016-07-20 15:54:54 -07:00
panicking.rs Mark all extern functions as nounwind 2015-09-14 11:36:09 +02:00
ptr.rs Implement traits for variadic function pointers 2016-07-17 10:21:07 +03:00
raw.rs Clean up std::raw docs 2016-08-05 17:52:37 -04:00
result.rs Remove redundant &mut ref mut in doc for Result::as_mut() 2016-08-10 08:15:57 +02:00
slice.rs extend lifetime on binary_search_by_key of SliceExt trait 2016-08-09 00:32:35 +05:30
tuple.rs Properly document tuples 2016-02-09 16:00:50 -05:00