rust/src/test
Alex Crichton 70f7165cc8 std: Stabilize TypeId and tweak BoxAny
This commit aims to stabilize the `TypeId` abstraction by moving it out of the
`intrinsics` module into the `any` module of the standard library. Specifically,

* `TypeId` is now defined at `std::any::TypeId`
* `TypeId::hash` has been removed in favor of an implementation of `Hash`.

This commit also performs a final pass over the `any` module, confirming the
following:

* `Any::get_type_id` remains unstable as *usage* of the `Any` trait will likely
  never require this, and the `Any` trait does not need to be implemented for
  any other types. As a result, this implementation detail can remain unstable
  until associated statics are implemented.
* `Any::downcast_ref` is now stable
* `Any::downcast_mut` is now stable
* `BoxAny` remains unstable. While a direct impl on `Box<Any>` is allowed today
  it does not allow downcasting of trait objects like `Box<Any + Send>` (those
  returned from `Thread::join`). This is covered by #18737.
* `BoxAny::downcast` is now stable.
2015-01-18 18:29:22 -08:00
..
auxiliary std: Stabilize TypeId and tweak BoxAny 2015-01-18 18:29:22 -08:00
bench cleanup: &foo[0..a] -> &foo[..a] 2015-01-12 17:59:37 -05:00
codegen librustc: Forbid private types in public APIs. 2014-09-22 20:05:45 -07:00
compile-fail std: Stabilize TypeId and tweak BoxAny 2015-01-18 18:29:22 -08:00
compile-fail-fulldeps Update the compile-fail-fulldeps tests with new isize/usize literal suffixes. 2015-01-08 11:02:24 -05:00
debuginfo rollup merge of #21197: michaelwoerister/linestablesonly-forloop 2015-01-15 14:12:06 -08:00
pretty fix pretty test fallout 2015-01-16 11:47:48 +01:00
run-fail fallout: run-fail tests that use box. (many/all could be ported to Box::new instead.) 2015-01-08 02:37:58 +01:00
run-make auto merge of #21233 : huonw/rust/simd-size, r=Aatch 2015-01-17 10:58:43 +00:00
run-pass std: Stabilize TypeId and tweak BoxAny 2015-01-18 18:29:22 -08:00
run-pass-fulldeps Syntax extensions on trait and impl items. 2015-01-15 08:58:44 +13:00
run-pass-valgrind Test fixes and rebase conflicts 2015-01-07 19:27:27 -08:00