about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-25 11:27:33 +0000
committerbors <bors@rust-lang.org>2022-10-25 11:27:33 +0000
commit9a425015c07db8a68bdfc44c38601cc974fb4a4d (patch)
treed71a7aaa0295ac2bb1b01cb05a74db68e8b5e153 /library/std/src/sys/unix/stack_overflow.rs
parentdf67ebba5ea9373d9aa06e856f5fdb1265954203 (diff)
parenteba36e6d95aef2d6415327a27ab3a91069333b97 (diff)
downloadrust-9a425015c07db8a68bdfc44c38601cc974fb4a4d.tar.gz
rust-9a425015c07db8a68bdfc44c38601cc974fb4a4d.zip
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`
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions