about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-01-26 10:24:32 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-01-26 10:45:09 +0000
commit2f4dd6e6890eefe30b4c041486ec3af90a071eb2 (patch)
tree05e37b972357ac74eacc76b8099e0455421dbc39
parentfcf78bbd757689aff3d6595b7f288de6a82e11bc (diff)
Actually run the bstr test
It previously didn't get run because of a missing mod bstr.
-rw-r--r--library/coretests/tests/bstr.rs4
-rw-r--r--library/coretests/tests/lib.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/library/coretests/tests/bstr.rs b/library/coretests/tests/bstr.rs
index 5fecd0a4084..cd4d69d6b33 100644
--- a/library/coretests/tests/bstr.rs
+++ b/library/coretests/tests/bstr.rs
@@ -1,6 +1,4 @@
-#![feature(bstr)]
-
-use core::ByteStr;
+use core::bstr::ByteStr;
 
 #[test]
 fn test_debug() {
diff --git a/library/coretests/tests/lib.rs b/library/coretests/tests/lib.rs
index a8980c5f30a..0607d508a48 100644
--- a/library/coretests/tests/lib.rs
+++ b/library/coretests/tests/lib.rs
@@ -11,6 +11,7 @@
 #![feature(async_iter_from_iter)]
 #![feature(async_iterator)]
 #![feature(bigint_helper_methods)]
+#![feature(bstr)]
 #![feature(cell_update)]
 #![feature(clone_to_uninit)]
 #![feature(const_black_box)]
@@ -139,6 +140,7 @@ mod asserting;
 mod async_iter;
 mod atomic;
 mod bool;
+mod bstr;
 mod cell;
 mod char;
 mod clone;