about summary refs log tree commit diff
path: root/src/libcoretest/str.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcoretest/str.rs')
-rw-r--r--src/libcoretest/str.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcoretest/str.rs b/src/libcoretest/str.rs
index 63d6e14a4a6..fc02f46724f 100644
--- a/src/libcoretest/str.rs
+++ b/src/libcoretest/str.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use std::str::from_str;
+
 #[test]
 fn test_bool_from_str() {
     assert_eq!(from_str::<bool>("true"), Some(true));