diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-07-14 16:43:50 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-07-14 16:44:01 -0700 |
| commit | 4572ed63899d5f692cf4f34ce374d634aa104c73 (patch) | |
| tree | c7df9c1368049d72e5e32433c199de236f9f540d /library/std/src/env.rs | |
| parent | f8e4ac0760216724f69b1ebc369bf03da56a7520 (diff) | |
| download | rust-4572ed63899d5f692cf4f34ce374d634aa104c73.tar.gz rust-4572ed63899d5f692cf4f34ce374d634aa104c73.zip | |
std: deny(unsafe_op_in_unsafe_fn) but allow sites
This provides a list of locations to hunt down issues in.
Diffstat (limited to 'library/std/src/env.rs')
| -rw-r--r-- | library/std/src/env.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/env.rs b/library/std/src/env.rs index 2f35e721610..b47b6531d53 100644 --- a/library/std/src/env.rs +++ b/library/std/src/env.rs @@ -9,6 +9,7 @@ //! and those without will return a [`String`]. #![stable(feature = "env", since = "1.0.0")] +#![allow(unsafe_op_in_unsafe_fn)] #[cfg(test)] mod tests; |
