rust-clippy/tests/ui-toml/toml_unknown_key
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
..
clippy.toml Get compile-test tests for configuration working 2018-05-30 20:37:18 +02:00
conf_unknown_key.rs Remove error-pattern comments 2022-06-14 16:28:34 +00:00
conf_unknown_key.stderr Auto merge of #9692 - llogiq:mutable-key-more-arcs, r=Alexendoo 2022-10-25 11:27:33 +00:00