diff options
Diffstat (limited to 'src/libstd/unicode.rs')
| -rw-r--r-- | src/libstd/unicode.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstd/unicode.rs b/src/libstd/unicode.rs index 9136ad2708f..e76b8529730 100644 --- a/src/libstd/unicode.rs +++ b/src/libstd/unicode.rs @@ -2,6 +2,7 @@ #[forbid(deprecated_pattern)]; mod icu { + #[legacy_exports]; type UBool = u8; type UProperty = int; type UChar32 = char; @@ -151,6 +152,7 @@ mod icu { #[link_name = "icuuc"] #[abi = "cdecl"] extern mod libicu { + #[legacy_exports]; pure fn u_hasBinaryProperty(c: UChar32, which: UProperty) -> UBool; pure fn u_isdigit(c: UChar32) -> UBool; pure fn u_islower(c: UChar32) -> UBool; @@ -209,6 +211,7 @@ pure fn is_upper(c: char) -> bool { #[cfg(test)] mod tests { + #[legacy_exports]; #[test] fn test_is_digit() { |
