rust-clippy/tests
bors b033883e2b Auto merge of #10864 - y21:issue10437, r=blyxyas,xFrednet
[`unnecessary_lazy_eval`]: don't lint on types with deref impl

Fixes #10437.
This PR changes clippy's util module `eager_or_lazy` to also consider deref expressions whose type has a non-builtin deref impl and not suggest replacing it as that might have observable side effects.
A prominent example might be the `lazy_static` macro, which creates a newtype with a `Deref` impl that you need to go through to get access to the inner value. Going from lazy to eager can make a difference there.

changelog: [`unnecessary_lazy_eval`]: don't lint on types with non-builtin deref impl
2023-06-05 11:21:45 +00:00
..
test_utils Revert "Dogfood missing_assert_message on Clippy" 2023-03-08 08:51:50 +00:00
ui Auto merge of #10864 - y21:issue10437, r=blyxyas,xFrednet 2023-06-05 11:21:45 +00:00
ui-cargo Address Dependabot alerts 2023-05-24 22:08:43 +09:00
ui-internal refactor(test): Move attribute to lint level 2023-06-03 00:00:45 +05:30
ui-toml Auto merge of #10607 - beetrees:toml-spans, r=giraffate 2023-06-02 08:01:31 +00:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup 2023-04-23 13:28:56 +02:00
dogfood.rs Merge commit '371120bdbf58a331db5dcfb2d9cddc040f486de8' into clippyup 2023-05-05 17:45:49 +02:00
headers.rs Add a test that checks for old style test headers 2023-04-23 14:20:55 +00:00
integration.rs Revert "Dogfood missing_assert_message on Clippy" 2023-03-08 08:51:50 +00:00
lint_message_convention.rs Stabilize a portion of 'once_cell' 2023-03-29 18:04:44 -04:00
missing-test-files.rs
versioncheck.rs Merge commit '4bdfb0741dbcecd5279a2635c3280726db0604b5' into clippyup 2022-12-17 14:12:54 +01:00
workspace.rs Stabilize a portion of 'once_cell' 2023-03-29 18:04:44 -04:00