From 3263d41bac17fe55093117b285e5addcbc5f41d5 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 12 Aug 2015 22:19:39 -0700 Subject: [PATCH] rustc_unicode: Add issues for unstable features --- src/librustc_unicode/char.rs | 12 ++++++++---- src/librustc_unicode/lib.rs | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/librustc_unicode/char.rs b/src/librustc_unicode/char.rs index eceb7fdfc7be..03df6921a4f7 100644 --- a/src/librustc_unicode/char.rs +++ b/src/librustc_unicode/char.rs @@ -295,7 +295,8 @@ impl char { /// assert_eq!(result, None); /// ``` #[unstable(feature = "unicode", - reason = "pending decision about Iterator/Writer/Reader")] + reason = "pending decision about Iterator/Writer/Reader", + issue = "27784")] #[inline] pub fn encode_utf8(self, dst: &mut [u8]) -> Option { C::encode_utf8(self, dst) @@ -334,7 +335,8 @@ impl char { /// assert_eq!(result, None); /// ``` #[unstable(feature = "unicode", - reason = "pending decision about Iterator/Writer/Reader")] + reason = "pending decision about Iterator/Writer/Reader", + issue = "27784")] #[inline] pub fn encode_utf16(self, dst: &mut [u16]) -> Option { C::encode_utf16(self, dst) @@ -359,7 +361,8 @@ impl char { /// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications), /// mostly similar to ID_Start but modified for closure under NFKx. #[unstable(feature = "unicode", - reason = "mainly needed for compiler internals")] + reason = "mainly needed for compiler internals", + issue = "0")] #[inline] pub fn is_xid_start(self) -> bool { derived_property::XID_Start(self) } @@ -370,7 +373,8 @@ impl char { /// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications), /// mostly similar to 'ID_Continue' but modified for closure under NFKx. #[unstable(feature = "unicode", - reason = "mainly needed for compiler internals")] + reason = "mainly needed for compiler internals", + issue = "0")] #[inline] pub fn is_xid_continue(self) -> bool { derived_property::XID_Continue(self) } diff --git a/src/librustc_unicode/lib.rs b/src/librustc_unicode/lib.rs index 5fd77c27b641..99284fee2d9d 100644 --- a/src/librustc_unicode/lib.rs +++ b/src/librustc_unicode/lib.rs @@ -23,7 +23,7 @@ // Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364) #![cfg_attr(stage0, feature(custom_attribute))] #![crate_name = "rustc_unicode"] -#![unstable(feature = "unicode")] +#![unstable(feature = "unicode", issue = "27783")] #![staged_api] #![crate_type = "rlib"] #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",