diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-12 22:19:39 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-15 18:09:16 -0700 |
| commit | 3263d41bac17fe55093117b285e5addcbc5f41d5 (patch) | |
| tree | b9ccd02ab16700af7536b17c2517c0fc62bd8fc1 /src | |
| parent | 59dac3175fd7040362fd147932c5d3feaaddeba1 (diff) | |
| download | rust-3263d41bac17fe55093117b285e5addcbc5f41d5.tar.gz rust-3263d41bac17fe55093117b285e5addcbc5f41d5.zip | |
rustc_unicode: Add issues for unstable features
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_unicode/char.rs | 12 | ||||
| -rw-r--r-- | 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 eceb7fdfc7b..03df6921a4f 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<usize> { 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<usize> { 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 5fd77c27b64..99284fee2d9 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"] #