diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-08-19 12:26:40 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-19 12:26:40 +0530 |
| commit | 2fe29753912a1be758a56453eaa80ddbe745300a (patch) | |
| tree | fcdf459aa8bd9413e845e55c909cab892a79fc82 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 078844283c8943b34b5b4ed90f6032c042dc4416 (diff) | |
| parent | 86e2ca30880a06cb9dbcef1db4a20266e54cf862 (diff) | |
| download | rust-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-sha1.rs')
0 files changed, 0 insertions, 0 deletions
