diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-07-17 13:10:12 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-07-19 13:46:06 -0700 |
| commit | e9b3e9c7f44949abd71ac05ea9d46b3c418888e5 (patch) | |
| tree | c3be0568f66ec003bfc29218dac12c71b5a8191b /library/std/src/sys/path | |
| parent | 1d83da88473e72717c089a389adcea1c53d4c9f8 (diff) | |
| download | rust-e9b3e9c7f44949abd71ac05ea9d46b3c418888e5.tar.gz rust-e9b3e9c7f44949abd71ac05ea9d46b3c418888e5.zip | |
std: forbid unwrapped unsafe in unsupported_backslash
Diffstat (limited to 'library/std/src/sys/path')
| -rw-r--r-- | library/std/src/sys/path/unsupported_backslash.rs | 1 |
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}; |
