//! default global allocator. It is not compatible with the libc allocator API.
#![allow(unused_attributes)]
-#![unstable(feature = "alloc",
- reason = "this library is unlikely to be stabilized in its current \
- form or name",
- issue = "27783")]
+#![stable(feature = "alloc", since = "1.36.0")]
#![doc(html_root_url = "https://doc.rust-lang.org/nightly/",
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",
test(no_crate_inject, attr(allow(unused_variables), deny(warnings))))]
#![no_std]
#![needs_allocator]
-#![deny(rust_2018_idioms)]
-#![allow(explicit_outlives_requirements)]
-
#![warn(deprecated_in_future)]
-#![warn(intra_doc_link_resolution_failure)]
+#![warn(missing_docs)]
#![warn(missing_debug_implementations)]
+#![deny(intra_doc_link_resolution_failure)] // rustdoc is run without -D warnings
+
+#![deny(rust_2018_idioms)]
+#![allow(explicit_outlives_requirements)]
#![cfg_attr(not(test), feature(generator_trait))]
#![cfg_attr(test, feature(test))]
#![feature(fmt_internals)]
#![feature(fn_traits)]
#![feature(fundamental)]
-#![feature(futures_api)]
#![feature(lang_items)]
#![feature(libc)]
#![feature(needs_allocator)]