rust/src
Aaron Turon a99e698628 Stabilize std::borrow
This commit stabilizes `std::borrow`, making the following modifications
to catch up the API with language changes:

* It renames `BorrowFrom` to `Borrow`, as was originally intended (but
  blocked for technical reasons), and reorders the parameters
  accordingly.

* It moves the type parameter of `ToOwned` to an associated type. This
  is somewhat less flexible, in that each borrowed type must have a
  unique owned type, but leads to a significant simplification for
  `Cow`. Flexibility can be regained by using newtyped slices, which is
  advisable for other reasons anyway.

* It removes the owned type parameter from `Cow`, making the type much
  less verbose.

* Deprecates the `is_owned` and `is_borrowed` predicates in favor of
  direct matching.

The above API changes are relatively minor; the basic functionality
remains the same, and essentially the whole module is now marked
`#[stable]`.

[breaking-change]
2015-02-18 15:23:58 -08:00
..
compiler-rt@58ab642c30 Updated compiler-rt 2015-01-09 18:38:30 +02:00
compiletest Manual merge of #22475 - alexcrichton:rollup, r=alexcrichton 2015-02-18 23:50:21 +11:00
doc Test fixes and rebase conflicts 2015-02-17 19:42:28 -08:00
driver Test fixes and rebase conflicts 2015-01-30 14:53:34 -08:00
etc Auto merge of #21774 - ejjeong:enable-test-for-android, r=alexcrichton 2015-02-17 19:35:12 +00:00
grammar Bison grammar: fix precedence with ranges followed by blocks 2015-02-10 17:59:02 -08:00
jemalloc@b001609960
liballoc Stabilize std::borrow 2015-02-18 15:23:58 -08:00
libarena Added lifetime param to Arena. 2015-02-11 13:51:21 +01:00
libbacktrace openbsd support 2015-02-01 14:41:38 +01:00
libcollections Stabilize std::borrow 2015-02-18 15:23:58 -08:00
libcore Stabilize std::borrow 2015-02-18 15:23:58 -08:00
libcoretest Fallout from stabilization 2015-02-17 15:14:17 -08:00
libflate Add core::marker::PhantomData. 2015-02-11 13:51:09 +01:00
libfmt_macros Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
libgetopts Test fixes and rebase conflicts 2015-02-17 17:27:46 -08:00
libgraphviz Stabilize std::borrow 2015-02-18 15:23:58 -08:00
liblibc Manual merge of #22475 - alexcrichton:rollup, r=alexcrichton 2015-02-18 23:50:21 +11:00
liblog std: Rename io/path features with old_ prefix 2015-02-17 14:02:45 -08:00
librand Register new snapshots 2015-02-17 22:04:31 -08:00
librbml std: Rename io/path features with old_ prefix 2015-02-17 14:02:45 -08:00
librustc Stabilize std::borrow 2015-02-18 15:23:58 -08:00
librustc_back Manual merge of #22475 - alexcrichton:rollup, r=alexcrichton 2015-02-18 23:50:21 +11:00
librustc_bitflags Feature-gate #![no_std] 2015-02-07 10:49:58 -08:00
librustc_borrowck Extend the implicator so it produces general obligations and also so 2015-02-18 15:23:34 -05:00
librustc_driver Test fixes and rebase conflicts 2015-02-17 19:42:28 -08:00
librustc_llvm rollup merge of #22459: alexcrichton/feature-names 2015-02-17 17:26:59 -08:00
librustc_privacy Add comment noting that this naive approach is not too naive. 2015-02-10 15:45:36 +01:00
librustc_resolve Fix rollup (remove slicing_syntax) 2015-02-15 19:26:39 +05:30
librustc_trans Move tcx from Typer into ClosureTyper 2015-02-18 15:23:34 -05:00
librustc_typeck Extend the implicator so it produces general obligations and also so 2015-02-18 15:23:34 -05:00
librustdoc Test fixes and rebase conflicts 2015-02-17 17:27:46 -08:00
libserialize rollup merge of #22459: alexcrichton/feature-names 2015-02-17 17:26:59 -08:00
libstd Stabilize std::borrow 2015-02-18 15:23:58 -08:00
libsyntax Stabilize std::borrow 2015-02-18 15:23:58 -08:00
libterm rollup merge of #22319: huonw/send-is-not-static 2015-02-17 17:32:16 -08:00
libtest rollup merge of #22319: huonw/send-is-not-static 2015-02-17 17:32:16 -08:00
libunicode Register new snapshots 2015-02-17 22:04:31 -08:00
llvm@2089cab13e Update LLVM to release_36@229036 2015-02-16 12:08:37 +01:00
rt Rollup merge of #21964 - semarie:openbsd-env, r=alexcrichton 2015-02-06 16:21:05 +05:30
rust-installer@60fd8abfca Upgrade rust-installer 2015-02-12 20:36:17 -08:00
rustbook rollup merge of #22459: alexcrichton/feature-names 2015-02-17 17:26:59 -08:00
rustllvm Update LLVM to release_36@229036 2015-02-16 12:08:37 +01:00
test Stabilize std::borrow 2015-02-18 15:23:58 -08:00
snapshots.txt Register new snapshots 2015-02-17 22:04:31 -08:00