Skip to content

Commit 3263d41

Browse files
committed
rustc_unicode: Add issues for unstable features
1 parent 59dac31 commit 3263d41

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/librustc_unicode/char.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ impl char {
295295
/// assert_eq!(result, None);
296296
/// ```
297297
#[unstable(feature = "unicode",
298-
reason = "pending decision about Iterator/Writer/Reader")]
298+
reason = "pending decision about Iterator/Writer/Reader",
299+
issue = "27784")]
299300
#[inline]
300301
pub fn encode_utf8(self, dst: &mut [u8]) -> Option<usize> {
301302
C::encode_utf8(self, dst)
@@ -334,7 +335,8 @@ impl char {
334335
/// assert_eq!(result, None);
335336
/// ```
336337
#[unstable(feature = "unicode",
337-
reason = "pending decision about Iterator/Writer/Reader")]
338+
reason = "pending decision about Iterator/Writer/Reader",
339+
issue = "27784")]
338340
#[inline]
339341
pub fn encode_utf16(self, dst: &mut [u16]) -> Option<usize> {
340342
C::encode_utf16(self, dst)
@@ -359,7 +361,8 @@ impl char {
359361
/// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications),
360362
/// mostly similar to ID_Start but modified for closure under NFKx.
361363
#[unstable(feature = "unicode",
362-
reason = "mainly needed for compiler internals")]
364+
reason = "mainly needed for compiler internals",
365+
issue = "0")]
363366
#[inline]
364367
pub fn is_xid_start(self) -> bool { derived_property::XID_Start(self) }
365368

@@ -370,7 +373,8 @@ impl char {
370373
/// [UAX #31](http://unicode.org/reports/tr31/#NFKC_Modifications),
371374
/// mostly similar to 'ID_Continue' but modified for closure under NFKx.
372375
#[unstable(feature = "unicode",
373-
reason = "mainly needed for compiler internals")]
376+
reason = "mainly needed for compiler internals",
377+
issue = "0")]
374378
#[inline]
375379
pub fn is_xid_continue(self) -> bool { derived_property::XID_Continue(self) }
376380

src/librustc_unicode/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
2424
#![cfg_attr(stage0, feature(custom_attribute))]
2525
#![crate_name = "rustc_unicode"]
26-
#![unstable(feature = "unicode")]
26+
#![unstable(feature = "unicode", issue = "27783")]
2727
#![staged_api]
2828
#![crate_type = "rlib"]
2929
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",

0 commit comments

Comments
 (0)