about summary refs log tree commit diff
path: root/src/libstd_unicode
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_unicode
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_unicode')
-rw-r--r--src/libstd_unicode/char.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd_unicode/char.rs b/src/libstd_unicode/char.rs
index 92e5369758b..eb36cbe3b1f 100644
--- a/src/libstd_unicode/char.rs
+++ b/src/libstd_unicode/char.rs
@@ -599,9 +599,9 @@ impl char {
     /// 'XID_Start' is a Unicode Derived Property specified in
     /// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications),
     /// mostly similar to `ID_Start` but modified for closure under `NFKx`.
-    #[unstable(feature = "unicode",
+    #[unstable(feature = "rustc_private",
                reason = "mainly needed for compiler internals",
-               issue = "0")]
+               issue = "27812")]
     #[inline]
     pub fn is_xid_start(self) -> bool {
         derived_property::XID_Start(self)
@@ -613,9 +613,9 @@ impl char {
     /// 'XID_Continue' is a Unicode Derived Property specified in
     /// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications),
     /// mostly similar to 'ID_Continue' but modified for closure under NFKx.
-    #[unstable(feature = "unicode",
+    #[unstable(feature = "rustc_private",
                reason = "mainly needed for compiler internals",
-               issue = "0")]
+               issue = "27812")]
     #[inline]
     pub fn is_xid_continue(self) -> bool {
         derived_property::XID_Continue(self)