From 0a13f1abafe70cddf34bf2b2ba3946c418ed6241 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 31 Aug 2015 08:51:53 -0700 Subject: std: Rename thread::catch_panic to panic::recover This commit is an implementation of [RFC 1236] and [RFC 1323] which rename the `thread::catch_panic` function to `panic::recover` while also replacing the `Send + 'static` bounds with a new `PanicSafe` bound. [RFC 1236]: https://github.com/rust-lang/rfcs/pull/1236 [RFC 1323]: https://github.com/rust-lang/rfcs/pull/1323 cc #27719 --- src/libstd/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libstd/lib.rs') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 0385dff65d1..8e6c32ff2fc 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -248,6 +248,7 @@ #![feature(link_args)] #![feature(linkage)] #![feature(macro_reexport)] +#![feature(on_unimplemented)] #![feature(oom)] #![feature(optin_builtin_traits)] #![feature(placement_in_syntax)] @@ -255,6 +256,7 @@ #![feature(range_inclusive)] #![feature(raw)] #![feature(reflect_marker)] +#![feature(shared)] #![feature(slice_bytes)] #![feature(slice_concat_ext)] #![feature(slice_patterns)] @@ -424,6 +426,7 @@ pub mod fs; pub mod io; pub mod net; pub mod os; +pub mod panic; pub mod path; pub mod process; pub mod sync; -- cgit 1.4.1-3-g733a5