rust/src/libcore
Andrew Paseltiner d6bd8d8491 Add Shared pointer and have {Arc, Rc} use it
This change has two consequences:

1. It makes `Arc<T>` and `Rc<T>` covariant in `T`.

2. It causes the compiler to reject code that was unsound with respect
to dropck. See compile-fail/issue-29106.rs for an example of code that
no longer compiles. Because of this, this is a [breaking-change].

Fixes #29037.
Fixes #29106.
2015-10-16 18:35:31 -04:00
..
fmt Correct spelling in docs 2015-10-13 09:44:11 -04:00
hash rustfmt hash submodule 2015-10-08 01:03:52 +03:00
num Auto merge of #29050 - rkruppe:dec2flt-lonely-sign, r=alexcrichton 2015-10-15 14:43:47 +00:00
prelude core: Stabilize prelude::v1 2015-08-17 19:35:52 -07:00
str Correct spelling in docs 2015-10-13 09:44:11 -04:00
sync Add a comment that the Atomic* are all implicitly Send 2015-09-15 23:35:02 +01:00
any.rs Any docs: as_ref doesn't exist anymore 2015-08-26 13:59:39 -04:00
array.rs Explain in comment why FixedSizeArray is unsafe 2015-09-23 11:38:01 -04:00
borrow.rs Move the Borrow and BorrowMut traits to libcore. 2015-08-22 13:58:39 +02:00
cell.rs typos: fix a grabbag of typos all over the place 2015-10-08 19:49:31 +01:00
char.rs Implement size_hint for EscapeUnicode 2015-10-01 20:33:43 +03:00
clone.rs Implement more traits for function pointers 2015-09-13 18:11:10 +03:00
cmp.rs Clarify logic instead of using 'vice versa' 2015-09-30 13:24:28 -04:00
cmp_macros.rs Remove one level of indirection for slice-based PartialEq impls 2015-10-01 18:17:49 +02:00
convert.rs core: Split apart the global core feature 2015-06-17 09:06:59 -07:00
default.rs doc: I had to read this twice before understanding it 2015-08-26 23:48:45 +02:00
intrinsics.rs Correct spelling in docs 2015-10-13 09:44:11 -04:00
iter.rs Rollup merge of #29022 - apasel422:spell, r=steveklabnik 2015-10-15 13:41:32 +05:30
lib.rs Mark all extern functions as nounwind 2015-09-14 11:36:09 +02:00
macros.rs Correct spelling in docs 2015-10-13 09:44:11 -04:00
marker.rs Correct spelling in docs 2015-10-13 09:44:11 -04:00
mem.rs Correct spelling in docs 2015-10-13 09:44:11 -04:00
nonzero.rs Make NonZero::new const function 2015-10-16 00:33:45 +03:00
ops.rs Elide lifetime in Deref doc example 2015-09-26 20:40:22 +02:00
option.rs Alter formatting for words in Option::cloned doc comment 2015-10-07 09:38:36 -04:00
panicking.rs Mark all extern functions as nounwind 2015-09-14 11:36:09 +02:00
ptr.rs Add Shared pointer and have {Arc, Rc} use it 2015-10-16 18:35:31 -04:00
raw.rs Correct spelling in docs 2015-10-13 09:44:11 -04:00
result.rs Simplify sample code for {Option, Result}::iter_mut 2015-09-16 10:17:38 +02:00
simd.rs Shim some of the old std::simd functionality. 2015-08-17 14:48:43 -07:00
simd_old.rs switch core::simd to repr(simd) and deprecate it. 2015-08-17 14:41:37 -07:00
slice.rs Docs: &A and &mut A are references, not pointers 2015-09-25 13:01:31 +02:00
tuple.rs std: Create separate docs for the primitives 2015-07-20 13:18:06 -07:00