enable unsafe_op_in_unsafe_fn lint

This commit is contained in:
Elton Law 2020-06-30 23:09:06 -04:00
parent 7616cd9ee9
commit b438811029
2 changed files with 2 additions and 0 deletions

View file

@ -8,6 +8,7 @@
//! extension traits of `std::os::$platform`.
#![stable(feature = "rust1", since = "1.0.0")]
#![deny(unsafe_op_in_unsafe_fn)]
use crate::ffi::OsString;
use crate::fmt;

View file

@ -319,6 +319,7 @@
#![feature(track_caller)]
#![feature(try_reserve)]
#![feature(unboxed_closures)]
#![feature(unsafe_block_in_unsafe_fn)]
#![feature(untagged_unions)]
#![feature(unwind_attributes)]
#![feature(vec_into_raw_parts)]