From 1ca2905cda99dd395347b46c3ce225f58b4d3844 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Fri, 6 Apr 2018 14:18:28 +0200 Subject: Dedicated tracking issue for UnicodeVersion and UNICODE_VERSION. --- src/libcore/unicode/tables.rs | 1 + src/libcore/unicode/unicode.py | 1 + src/libcore/unicode/version.rs | 1 + 3 files changed, 3 insertions(+) (limited to 'src/libcore/unicode') diff --git a/src/libcore/unicode/tables.rs b/src/libcore/unicode/tables.rs index 1f7b1bde914..3fbbc011bc4 100644 --- a/src/libcore/unicode/tables.rs +++ b/src/libcore/unicode/tables.rs @@ -17,6 +17,7 @@ use unicode::bool_trie::{BoolTrie, SmallBoolTrie}; /// The version of [Unicode](http://www.unicode.org/) that the Unicode parts of /// `char` and `str` methods are based on. +#[unstable(feature = "unicode_version", issue = "49726")] pub const UNICODE_VERSION: UnicodeVersion = UnicodeVersion { major: 10, minor: 0, diff --git a/src/libcore/unicode/unicode.py b/src/libcore/unicode/unicode.py index 82262cc7662..75ec01944bf 100755 --- a/src/libcore/unicode/unicode.py +++ b/src/libcore/unicode/unicode.py @@ -471,6 +471,7 @@ if __name__ == "__main__": rf.write(""" /// The version of [Unicode](http://www.unicode.org/) that the Unicode parts of /// `char` and `str` methods are based on. +#[unstable(feature = "unicode_version", issue = "49726")] pub const UNICODE_VERSION: UnicodeVersion = UnicodeVersion { major: %s, minor: %s, diff --git a/src/libcore/unicode/version.rs b/src/libcore/unicode/version.rs index d82a749d917..59ebf5f5012 100644 --- a/src/libcore/unicode/version.rs +++ b/src/libcore/unicode/version.rs @@ -12,6 +12,7 @@ /// /// See also: #[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)] +#[unstable(feature = "unicode_version", issue = "49726")] pub struct UnicodeVersion { /// Major version. pub major: u32, -- cgit 1.4.1-3-g733a5