about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-19 12:26:40 +0530
committerGitHub <noreply@github.com>2022-08-19 12:26:40 +0530
commit2fe29753912a1be758a56453eaa80ddbe745300a (patch)
treefcdf459aa8bd9413e845e55c909cab892a79fc82 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent078844283c8943b34b5b4ed90f6032c042dc4416 (diff)
parent86e2ca30880a06cb9dbcef1db4a20266e54cf862 (diff)
downloadrust-2fe29753912a1be758a56453eaa80ddbe745300a.tar.gz
rust-2fe29753912a1be758a56453eaa80ddbe745300a.zip
Rollup merge of #100081 - RalfJung:unused-unsafe-in-unsafe-fn, r=jackh726
never consider unsafe blocks unused if they would be required with deny(unsafe_op_in_unsafe_fn)

Judging from https://github.com/rust-lang/rust/issues/71668#issuecomment-1200317370 the consensus nowadays seems to be that we should never consider an unsafe block unused if it was required with `deny(unsafe_op_in_unsafe_fn)`, no matter whether that lint is actually enabled or not. So let's adjust rustc accordingly.

The first commit does the change, the 2nd does some cleanup.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions