about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-19 09:14:58 -0700
committerGitHub <noreply@github.com>2020-06-19 09:14:58 -0700
commit55479de2993195bedafdc2104db21e52709ed137 (patch)
treebd5b19df582f3efbaeeb29c22c0b17e575401b2a /library/std/src/sys/unix/stack_overflow.rs
parent85e1c3baca9a23e2640c9eb408b0a65848a5d0f0 (diff)
parent7b6398657c2335c053d7733f5bb752e8d2b5d261 (diff)
downloadrust-55479de2993195bedafdc2104db21e52709ed137.tar.gz
rust-55479de2993195bedafdc2104db21e52709ed137.zip
Rollup merge of #72709 - LeSeulArtichaut:unsafe-liballoc, r=nikomatsakis
`#[deny(unsafe_op_in_unsafe_fn)]` in liballoc

This PR proposes to make use of the new `unsafe_op_in_unsafe_fn` lint, i.e. no longer consider the body of an unsafe function as an unsafe block and require explicit unsafe block to perform unsafe operations.

This has been first (partly) suggested by @Mark-Simulacrum in https://github.com/rust-lang/rust/pull/69245#issuecomment-587817065

Tracking issue for the feature: #71668.
~~Blocked on #71862.~~
r? @Mark-Simulacrum cc @nikomatsakis can you confirm that those changes are desirable? Should I restrict it to only BTree for the moment?
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions