about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-19 13:58:09 +0000
committerbors <bors@rust-lang.org>2023-01-19 13:58:09 +0000
commitaa0eb7fb1cc27d59375645b0f34c59dc85afb1ec (patch)
tree1367f7042f146cc29593e52e39655347ccf65cc8 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff
parent36e3e26464c1db3be35bd8ff8872d96a97eb8c5e (diff)
parent875e36f7e459776d3e51b7c089ab89b0821b6122 (diff)
downloadrust-aa0eb7fb1cc27d59375645b0f34c59dc85afb1ec.tar.gz
rust-aa0eb7fb1cc27d59375645b0f34c59dc85afb1ec.zip
Auto merge of #10206 - Niki4tap:one_unsafe_op_per_block, r=Alexendoo
Add `multiple_unsafe_ops_per_block` lint

Adds a lint, which restricts an `unsafe` block to only one unsafe operation.

Closes #10064

---

changelog: New lint: [`multiple_unsafe_ops_per_block`]
[#10206](https://github.com/rust-lang/rust-clippy/pull/10206)
<!-- changelog_checked -->
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions