about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-01 20:36:06 -0700
committerGitHub <noreply@github.com>2020-07-01 20:36:06 -0700
commit441f04b56be65c9228b17adde686b0bda6d38917 (patch)
tree4e0026720ac05a73a55b6de21c777255038a983e /src/libstd/sys/unix/stack_overflow.rs
parent9046f230fde97f5538971ee56c00dea5511822c5 (diff)
parentb438811029edfb3f39451c91d7e107e0338cf043 (diff)
downloadrust-441f04b56be65c9228b17adde686b0bda6d38917.tar.gz
rust-441f04b56be65c9228b17adde686b0bda6d38917.zip
Rollup merge of #73909 - eltonlaw:unsafe-libstd-fs-rs, r=sfackler
`#[deny(unsafe_op_in_unsafe_fn)]` in libstd/fs.rs

The `libstd/fs.rs` part of https://github.com/rust-lang/rust/issues/73904 . Wraps the two calls to an unsafe fn `Initializer::nop()` in an `unsafe` block.

Followed instructions in parent issue, ran `./x.py check src/libstd/` after adding the lint and two warnings were given. After adding these changes, those disappear.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions