rust/src/test
bors 8fb027e398 auto merge of #19252 : japaric/rust/cow, r=aturon
- Add `IntoCow` trait, and put it in the prelude
- Add `is_owned`/`is_borrowed` methods to `Cow`
- Add `CowString`/`CowVec` type aliases (to `Cow<'_, String, str>`/`Cow<'_, Vec, [T]>` respectively)
- `Cow` implements: `Show`, `Hash`, `[Partial]{Eq,Ord}`
- `impl BorrowFrom<Cow<'a, T, B>> for B`

[breaking-change]s:

- `IntoMaybeOwned` has been removed from the prelude
- libcollections: `SendStr` is now an alias to `CowString<'static>` (it was aliased to `MaybeOwned<'static>`)
- libgraphviz:
  - `LabelText` variants now wrap `CowString` instead of `MaybeOwned`
  - `Nodes` and `Edges` are now type aliases to `CowVec` (they were aliased to `MaybeOwnedVec`)
- libstd/path: `Display::as_maybe_owned` has been renamed to `Display::as_cow` and now returns a `CowString`
- These functions now accept/return `Cow` instead of `MaybeOwned[Vector]`:
  - libregex: `Replacer::reg_replace`
  - libcollections: `str::from_utf8_lossy`
  - libgraphviz: `Id::new`, `Id::name`, `LabelText::pre_escaped_content`
  - libstd: `TaskBuilder::named`

r? @aturon
2014-11-26 12:02:16 +00:00
..
auxiliary std: Add a new top-level thread_local module 2014-11-23 23:37:16 -08:00
bench Fallout from libgreen and libnative removal 2014-11-20 17:19:24 -08:00
codegen librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
compile-fail auto merge of #18234 : pnkfelix/rust/fsk-type-fragments-for-needsdrop-2, r=nikomatsakis 2014-11-25 15:48:05 +00:00
compile-fail-fulldeps Fix an ICE when using struct patterns with traits 2014-11-17 21:49:41 +01:00
debuginfo removed struct_variant feature from tests 2014-11-20 00:56:50 +01:00
pretty Fixes to the roll-up 2014-11-23 15:23:39 -05:00
run-fail Deprecate MaybeOwned[Vector] in favor of Cow 2014-11-25 11:22:23 -05:00
run-make auto merge of #19133 : nodakai/rust/run-make-tests-missing-extracflags, r=alexcrichton 2014-11-22 14:46:38 +00:00
run-pass auto merge of #19252 : japaric/rust/cow, r=aturon 2014-11-26 12:02:16 +00:00
run-pass-fulldeps Switch to purely namespaced enums 2014-11-17 07:35:51 -08:00
run-pass-valgrind Move some tests to run-pass-valgrind 2014-10-23 13:52:34 +13:00