From c6afde6c46d167c9c75389b887f1d2498aeef3e4 Mon Sep 17 00:00:00 2001 From: est31 Date: Fri, 16 Jun 2017 19:58:37 +0200 Subject: Introduce tidy lint to check for inconsistent tracking issues This commit * Refactors the collect_lib_features function to work in a non-checking mode (no bad pointer needed, and list of lang features). * Introduces checking whether unstable/stable tags for a given feature have inconsistent tracking issues. * Fixes such inconsistencies throughout the codebase. --- src/libstd/lib.rs | 2 +- src/libstd/rand/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index f307fbb7c00..105f4026ec8 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -484,7 +484,7 @@ pub mod rt; // but it may be stabilized long-term. As a result we're exposing a hidden, // unstable module so we can get our build working. #[doc(hidden)] -#[unstable(feature = "rand", issue = "0")] +#[unstable(feature = "rand", issue = "27703")] pub mod __rand { pub use rand::{thread_rng, ThreadRng, Rng}; } diff --git a/src/libstd/rand/mod.rs b/src/libstd/rand/mod.rs index 4f33d726398..8da070e7a49 100644 --- a/src/libstd/rand/mod.rs +++ b/src/libstd/rand/mod.rs @@ -56,7 +56,7 @@ //! between the two sources. (Also note that, on some systems e.g. FreeBSD, both `/dev/random` //! and `/dev/urandom` may block once if the CSPRNG has not seeded yet.) -#![unstable(feature = "rand", issue = "0")] +#![unstable(feature = "rand", issue = "27703")] use cell::RefCell; use fmt; -- cgit 1.4.1-3-g733a5