about summary refs log tree commit diff
path: root/library/std/src/sys/path
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/path')
-rw-r--r--library/std/src/sys/path/unsupported_backslash.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/path/unsupported_backslash.rs b/library/std/src/sys/path/unsupported_backslash.rs
index 7045c9be25b..855f443678c 100644
--- a/library/std/src/sys/path/unsupported_backslash.rs
+++ b/library/std/src/sys/path/unsupported_backslash.rs
@@ -1,3 +1,4 @@
+#![forbid(unsafe_op_in_unsafe_fn)]
 use crate::ffi::OsStr;
 use crate::io;
 use crate::path::{Path, PathBuf, Prefix};