about summary refs log tree commit diff
path: root/library/alloc/tests/lib.rs
diff options
context:
space:
mode:
authorHTGAzureX1212 <39023054+HTGAzureX1212@users.noreply.github.com>2024-02-02 20:49:20 +0800
committerHTGAzureX1212 <39023054+HTGAzureX1212@users.noreply.github.com>2025-02-16 21:08:38 +0800
commiteec49bbf59c922060a5785a47d885529e6cb2ac8 (patch)
tree07dfb9a29f4561e401de15ad0ac593165ff0c476 /library/alloc/tests/lib.rs
parenta5db378dc14a40dd1580c27fb8362156446382c3 (diff)
downloadrust-eec49bbf59c922060a5785a47d885529e6cb2ac8.tar.gz
rust-eec49bbf59c922060a5785a47d885529e6cb2ac8.zip
add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
Diffstat (limited to 'library/alloc/tests/lib.rs')
-rw-r--r--library/alloc/tests/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/tests/lib.rs b/library/alloc/tests/lib.rs
index 391ff04a4b8..708dfc582a7 100644
--- a/library/alloc/tests/lib.rs
+++ b/library/alloc/tests/lib.rs
@@ -3,6 +3,7 @@
 #![feature(iter_array_chunks)]
 #![feature(assert_matches)]
 #![feature(btree_extract_if)]
+#![feature(char_max_len)]
 #![feature(cow_is_borrowed)]
 #![feature(core_intrinsics)]
 #![feature(downcast_unchecked)]