diff options
Diffstat (limited to 'src/libcore/unicode.rs')
| -rw-r--r-- | src/libcore/unicode.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/unicode.rs b/src/libcore/unicode.rs index 2c115fcf444..ef26ae5d223 100644 --- a/src/libcore/unicode.rs +++ b/src/libcore/unicode.rs @@ -4,6 +4,7 @@ #[forbid(deprecated_pattern)]; mod general_category { + #[legacy_exports]; pure fn Cc(c: char) -> bool { return match c { '\x00' .. '\x1f' @@ -2564,6 +2565,7 @@ mod general_category { } mod derived_property { + #[legacy_exports]; /// Check if a character has the alphabetic unicode property pure fn Alphabetic(c: char) -> bool { return match c { |
