Remove #![allow(unsafe_op_in_unsafe_fn)] except for mod.rs
This commit is contained in:
parent
d94258e83e
commit
14158f5514
9 changed files with 0 additions and 15 deletions
|
@ -1,5 +1,3 @@
|
|||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::alloc::{GlobalAlloc, Layout, System};
|
||||
use crate::ptr;
|
||||
use crate::sys::hermit::abi;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::ffi::OsString;
|
||||
use crate::marker::PhantomData;
|
||||
use crate::vec;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::ffi::c_void;
|
||||
use crate::ptr;
|
||||
use crate::sync::atomic::{AtomicUsize, Ordering::SeqCst};
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#![unstable(reason = "not public", issue = "none", feature = "fd")]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::io::{self, ErrorKind, Read};
|
||||
use crate::mem;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::ffi::c_void;
|
||||
use crate::ptr;
|
||||
use crate::sys::hermit::abi;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::collections::HashMap;
|
||||
use crate::error::Error as StdError;
|
||||
use crate::ffi::{CStr, OsStr, OsString};
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::cell::UnsafeCell;
|
||||
use crate::sys::condvar::Condvar;
|
||||
use crate::sys::mutex::Mutex;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#![allow(dead_code)]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::ffi::CStr;
|
||||
use crate::io;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#![cfg(target_thread_local)]
|
||||
#![unstable(feature = "thread_local_internals", issue = "none")]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
// Simplify dtor registration by using a list of destructors.
|
||||
// The this solution works like the implementation of macOS and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue