rust/tests
Rob Shearman c88cb08afc Fix mut_mutex_lock when reference not ultimately mutable
When there is are multiple references where one of the references
isn't mutable then this results in a false-positive for
`mut_mutex_lock` as it only checks the mutability of the first
reference level.

Fix this by using `peel_mid_ty_refs_is_mutable` which correctly
determines whether the reference is ultimately mutable and thus
whether `Mutex::get_lock()` can actually be used.

Fixes #9854
2024-10-01 22:19:42 +02:00
..
test_utils
ui Fix mut_mutex_lock when reference not ultimately mutable 2024-10-01 22:19:42 +02:00
ui-cargo
ui-internal
ui-toml Fix non-lifetime tests 2024-09-25 13:52:12 -04:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs
config-metadata.rs
dogfood.rs
headers.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs