1
Fork 0

Remove #![allow(unsafe_op_in_unsafe_fn)] except for mod.rs

This commit is contained in:
maekawatoshiki 2020-10-08 22:13:14 +09:00
parent d94258e83e
commit 14158f5514
9 changed files with 0 additions and 15 deletions

View file

@ -1,5 +1,3 @@
#![allow(unsafe_op_in_unsafe_fn)]
use crate::alloc::{GlobalAlloc, Layout, System};
use crate::ptr;
use crate::sys::hermit::abi;

View file

@ -1,5 +1,3 @@
#![allow(unsafe_op_in_unsafe_fn)]
use crate::ffi::OsString;
use crate::marker::PhantomData;
use crate::vec;

View file

@ -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};

View file

@ -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;

View file

@ -1,5 +1,3 @@
#![allow(unsafe_op_in_unsafe_fn)]
use crate::ffi::c_void;
use crate::ptr;
use crate::sys::hermit::abi;

View file

@ -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};

View file

@ -1,5 +1,3 @@
#![allow(unsafe_op_in_unsafe_fn)]
use crate::cell::UnsafeCell;
use crate::sys::condvar::Condvar;
use crate::sys::mutex::Mutex;

View file

@ -1,5 +1,4 @@
#![allow(dead_code)]
#![allow(unsafe_op_in_unsafe_fn)]
use crate::ffi::CStr;
use crate::io;

View file

@ -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