rust/clippy_utils/src
bors 9a425015c0 Auto merge of #9692 - llogiq:mutable-key-more-arcs, r=Alexendoo
make ignored internally mutable types for `mutable-key` configurable

We had some false positives where people would create their own types that had interior mutability unrelated to hash/eq. This addition lets you configure this as e.g. `arc-like-types=["bytes::Bytes"]`

This fixes #5325 by allowing users to specify the types whose innards like `Arc` should be ignored (the generic types are still checked) for the sake of detecting inner mutability.

r? `@Alexendoo`

---

changelog: Allow configuring types to ignore internal mutability in `mutable-key`
2022-10-25 11:27:33 +00:00
..
ast_utils Merge commit '928e72dd10' into clippyup 2021-02-25 11:25:22 +01:00
mir Fix bug in referent_used_exactly_once 2022-10-12 09:21:08 -04:00
ast_utils.rs Rename AssocItemKind::TyAlias to AssocItemKind::Type 2022-10-10 02:31:37 +00:00
attrs.rs Fix adjacent code 2022-10-07 05:07:44 -04:00
check_proc_macro.rs ImplItemKind::TyAlias => ImplItemKind::Type 2022-10-09 07:09:57 +00:00
comparisons.rs Merge commit '928e72dd10' into clippyup 2021-02-25 11:25:22 +01:00
consts.rs Fix dogfooding 2022-10-24 22:05:39 +02:00
diagnostics.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
eager_or_lazy.rs Don't suggest moving tuple structs with a significant drop to late evaluation. 2022-10-08 11:23:05 -04:00
higher.rs Merge commit 'd9ddce8a22' into clippyup 2022-06-04 13:34:07 +02:00
hir_utils.rs Fix dogfooding 2022-10-24 22:05:39 +02:00
lib.rs make arc-likes for mutable-key configurable 2022-10-25 01:51:04 +02:00
macros.rs Add unused_format_specs lint 2022-10-17 11:36:05 +00:00
msrvs.rs Auto merge of #9667 - dorublanzeanu:master, r=giraffate 2022-10-25 00:14:59 +00:00
numeric_literal.rs [unnecessary_cast] Do not lint negative hexadecimal literals when cast as float 2022-10-08 16:15:18 +02:00
paths.rs Add new lint rewind_instead_of_seek_to_start 2022-10-24 10:43:48 +00:00
ptr.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
qualify_min_const_fn.rs Rollup merge of #102675 - ouz-a:mir-technical-debt, r=oli-obk 2022-10-08 14:38:18 +02:00
source.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
str_utils.rs Merge commit '0eff589afc' into clippyup 2021-12-30 15:10:43 +01:00
sugg.rs Merge remote-tracking branch 'upstream/master' into rustup 2022-10-20 16:39:27 +02:00
sym_helper.rs Merge commit '928e72dd10' into clippyup 2021-02-25 11:25:22 +01:00
ty.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
usage.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
visitors.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00