Skip to content

Commit b438811

Browse files
committed
enable unsafe_op_in_unsafe_fn lint
1 parent 7616cd9 commit b438811

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/libstd/fs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
//! extension traits of `std::os::$platform`.
99
1010
#![stable(feature = "rust1", since = "1.0.0")]
11+
#![deny(unsafe_op_in_unsafe_fn)]
1112

1213
use crate::ffi::OsString;
1314
use crate::fmt;

src/libstd/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@
319319
#![feature(track_caller)]
320320
#![feature(try_reserve)]
321321
#![feature(unboxed_closures)]
322+
#![feature(unsafe_block_in_unsafe_fn)]
322323
#![feature(untagged_unions)]
323324
#![feature(unwind_attributes)]
324325
#![feature(vec_into_raw_parts)]

0 commit comments

Comments
 (0)