about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-15 23:53:22 +0000
committerbors <bors@rust-lang.org>2023-10-15 23:53:22 +0000
commitef95be517c70985a8fd83ffb5b84dda6583fbd7a (patch)
tree1748fc4f198c4d5db4bb2ddbe37576be4b100ce3 /tests/ui/patchable-function-entry
parentc40359d97aed59d462b8ea293abe7c3f0762f5e9 (diff)
parente6f29f1900002d980dd06778a29e73637539d928 (diff)
downloadrust-ef95be517c70985a8fd83ffb5b84dda6583fbd7a.tar.gz
rust-ef95be517c70985a8fd83ffb5b84dda6583fbd7a.zip
Auto merge of #11609 - y21:get_first_non_primitives, r=giraffate
[`get_first`]: lint on non-primitive slices

Fixes #11594

I left the issue open for a couple days before making the PR to see if anyone has something to say, but it looks like there aren't any objections to removing this check that prevented linting on non-primitive slices, so here's the PR now.
There's a couple of instances in clippy itself where we now emit the lint. The actual relevant change is in the first commit and fixing the `.get(0)` instances in clippy itself is in the 2nd commit.

changelog: [`get_first`]: lint on non-primitive slices
Diffstat (limited to 'tests/ui/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions