about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorThe Miri Cronjob Bot <miri@cron.bot>2024-12-04 05:12:09 +0000
committerThe Miri Cronjob Bot <miri@cron.bot>2024-12-04 05:12:09 +0000
commit6c9402012e4e442aff1194f1888f773fa93b9517 (patch)
treecb840e68a8d4c14776f6e04baa0c20ef987d8f8a /src
parent1300e4628d33bcf15999d4a134b807424e24fa62 (diff)
downloadrust-6c9402012e4e442aff1194f1888f773fa93b9517.tar.gz
rust-6c9402012e4e442aff1194f1888f773fa93b9517.zip
fmt
Diffstat (limited to 'src')
-rw-r--r--src/tools/miri/tests/pass-dep/libc/libc-fs-symlink.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/miri/tests/pass-dep/libc/libc-fs-symlink.rs b/src/tools/miri/tests/pass-dep/libc/libc-fs-symlink.rs
index 4b49e105562..fd7fc801dc2 100644
--- a/src/tools/miri/tests/pass-dep/libc/libc-fs-symlink.rs
+++ b/src/tools/miri/tests/pass-dep/libc/libc-fs-symlink.rs
@@ -48,7 +48,11 @@ fn test_readlink() {
 
     // Test that we report a proper error for a missing path.
     let res = unsafe {
-        libc::readlink(c"MIRI_MISSING_FILE_NAME".as_ptr(), small_buf.as_mut_ptr().cast(), small_buf.len())
+        libc::readlink(
+            c"MIRI_MISSING_FILE_NAME".as_ptr(),
+            small_buf.as_mut_ptr().cast(),
+            small_buf.len(),
+        )
     };
     assert_eq!(res, -1);
     assert_eq!(Error::last_os_error().kind(), ErrorKind::NotFound);