about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2023-05-26 08:06:06 -0400
committerBen Kimock <kimockb@gmail.com>2023-05-26 08:06:06 -0400
commit5a54d34ff71f9dcaa10bc701627e6982135b9254 (patch)
treee2a49329f092672f4b34874fd5cb1cada3a34c9d
parentad60608444c9e4c0647b2823f261c7d2359f060d (diff)
downloadrust-5a54d34ff71f9dcaa10bc701627e6982135b9254.tar.gz
rust-5a54d34ff71f9dcaa10bc701627e6982135b9254.zip
rustup
-rw-r--r--src/tools/miri/tests/pass/shims/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/miri/tests/pass/shims/fs.rs b/src/tools/miri/tests/pass/shims/fs.rs
index 3258a2be460..af245aa89aa 100644
--- a/src/tools/miri/tests/pass/shims/fs.rs
+++ b/src/tools/miri/tests/pass/shims/fs.rs
@@ -31,7 +31,7 @@ fn main() {
 }
 
 fn host_to_target_path(path: String) -> PathBuf {
-    use std::ffi::{c_char, CStr, CString};
+    use std::ffi::{CStr, CString};
 
     let path = CString::new(path).unwrap();
     let mut out = Vec::with_capacity(1024);