about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-06-16 19:58:37 +0200
committerest31 <MTest31@outlook.com>2017-06-16 20:40:40 +0200
commitc6afde6c46d167c9c75389b887f1d2498aeef3e4 (patch)
treed70805513757c564696fc54a7ad597b99fedec41 /src/libstd
parentb40be00a0cac84d23f51c5c5109c8f824ab19ab3 (diff)
downloadrust-c6afde6c46d167c9c75389b887f1d2498aeef3e4.tar.gz
rust-c6afde6c46d167c9c75389b887f1d2498aeef3e4.zip
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.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs2
-rw-r--r--src/libstd/rand/mod.rs2
2 files changed, 2 insertions, 2 deletions
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;