diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-01 20:36:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-01 20:36:06 -0700 |
| commit | 441f04b56be65c9228b17adde686b0bda6d38917 (patch) | |
| tree | 4e0026720ac05a73a55b6de21c777255038a983e /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 9046f230fde97f5538971ee56c00dea5511822c5 (diff) | |
| parent | b438811029edfb3f39451c91d7e107e0338cf043 (diff) | |
| download | rust-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
