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
This commit is contained in:
parent
8864f2c83a
commit
0a13f1abaf
13 changed files with 462 additions and 45 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue