diff options
| author | bors <bors@rust-lang.org> | 2020-03-23 18:48:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-03-23 18:48:02 +0000 |
| commit | 1edd389cc4c7b5be7a3dd4fe4b986f6017018e54 (patch) | |
| tree | fa016e97f3653421cb503f322cfff32876f5a2bd /src/libstd | |
| parent | 55299b2ba99432d10f925cd28ff52fe397577371 (diff) | |
| parent | 5b29348cfe67f5ec7b81dbf9cde03eb7a9c8ff01 (diff) | |
| download | rust-1edd389cc4c7b5be7a3dd4fe4b986f6017018e54.tar.gz rust-1edd389cc4c7b5be7a3dd4fe4b986f6017018e54.zip | |
Auto merge of #70330 - Centril:rollup-ts0clvx, r=Centril
Rollup of 9 pull requests Successful merges: - #68700 (Add Wake trait for safe construction of Wakers.) - #69494 (Stabilize --crate-version option in rustdoc) - #70080 (rustc_mir: remove extra space when pretty-printing MIR.) - #70195 (Add test for issue #53275) - #70199 (Revised span-to-lines conversion to produce an empty vec on DUMMY_SP.) - #70299 (add err_machine_stop macro) - #70300 (Reword unused variable warning) - #70315 (Rename remaining occurences of Void to Opaque.) - #70318 (Split long derive lists into two derive attributes.) Failed merges: r? @ghost
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 1f122b02b6a..e5dad307a20 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -310,6 +310,7 @@ #![feature(untagged_unions)] #![feature(unwind_attributes)] #![feature(vec_into_raw_parts)] +#![feature(wake_trait)] // NB: the above list is sorted to minimize merge conflicts. #![default_lib_allocator] @@ -463,9 +464,14 @@ pub mod time; #[stable(feature = "futures_api", since = "1.36.0")] pub mod task { //! Types and Traits for working with asynchronous tasks. + #[doc(inline)] #[stable(feature = "futures_api", since = "1.36.0")] pub use core::task::*; + + #[doc(inline)] + #[unstable(feature = "wake_trait", issue = "69912")] + pub use alloc::task::*; } #[stable(feature = "futures_api", since = "1.36.0")] |
