rust/src/test
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
..
auxiliary rollup merge of #22319: huonw/send-is-not-static 2015-02-17 17:32:16 -08:00
bench Test fixes and rebase conflicts 2015-02-17 19:42:28 -08:00
codegen librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
compile-fail Stabilize std::borrow 2015-02-18 15:23:58 -08:00
compile-fail-fulldeps Auto merge of #21774 - ejjeong:enable-test-for-android, r=alexcrichton 2015-02-17 19:35:12 +00:00
debuginfo Auto merge of #21774 - ejjeong:enable-test-for-android, r=alexcrichton 2015-02-17 19:35:12 +00:00
parse-fail rollup merge of #21918: ranma42/replace-be 2015-02-10 08:41:30 -08:00
pretty Test fixes and rebase conflicts 2015-02-17 19:42:28 -08:00
run-fail Test fixes and rebase conflicts 2015-02-17 17:27:46 -08:00
run-make Stabilize std::borrow 2015-02-18 15:23:58 -08:00
run-pass Stabilize std::borrow 2015-02-18 15:23:58 -08:00
run-pass-fulldeps Auto merge of #21774 - ejjeong:enable-test-for-android, r=alexcrichton 2015-02-17 19:35:12 +00:00
run-pass-valgrind Fallout of io => old_io 2015-01-26 16:01:16 -08:00