about summary refs log tree commit diff
path: root/library/alloc/tests/lib.rs
diff options
context:
space:
mode:
authorKornel <kornel@geekhood.net>2024-01-30 16:08:57 +0000
committerKornel <kornel@geekhood.net>2024-03-01 18:24:02 +0000
commit78fb977d6b600865b7887245d24f6dca22a0099a (patch)
tree88991f8cce8dc9f313eb04610043eae91dd8f920 /library/alloc/tests/lib.rs
parentf27a22c24a51ba734e4eb25c499320d819ebe236 (diff)
downloadrust-78fb977d6b600865b7887245d24f6dca22a0099a.tar.gz
rust-78fb977d6b600865b7887245d24f6dca22a0099a.zip
try_with_capacity for Vec, VecDeque, String
#91913
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 c4e89a58a05..e4e1a02fd83 100644
--- a/library/alloc/tests/lib.rs
+++ b/library/alloc/tests/lib.rs
@@ -20,6 +20,7 @@
 #![feature(pattern)]
 #![feature(trusted_len)]
 #![feature(try_reserve_kind)]
+#![feature(try_with_capacity)]
 #![feature(unboxed_closures)]
 #![feature(associated_type_bounds)]
 #![feature(binary_heap_into_iter_sorted)]