about summary refs log tree commit diff
path: root/src/liballoc
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/liballoc
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/liballoc')
-rw-r--r--src/liballoc/rc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 1f3388ad2c2..21a56ff9899 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -428,7 +428,7 @@ impl Rc<str> {
     #[doc(hidden)]
     #[unstable(feature = "rustc_private",
                reason = "for internal use in rustc",
-               issue = "0")]
+               issue = "27812")]
     pub fn __from_str(value: &str) -> Rc<str> {
         unsafe {
             // Allocate enough space for `RcBox<str>`.
@@ -453,7 +453,7 @@ impl<T> Rc<[T]> {
     #[doc(hidden)]
     #[unstable(feature = "rustc_private",
                reason = "for internal use in rustc",
-               issue = "0")]
+               issue = "27812")]
     pub fn __from_array(value: Box<[T]>) -> Rc<[T]> {
         unsafe {
             let ptr: *mut RcBox<[T]> =