about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-15 21:31:37 +0000
committerbors <bors@rust-lang.org>2022-08-15 21:31:37 +0000
commit0fc95e88f556d3fb95dd92f19a183a30bb5c9688 (patch)
tree8fcb7f407169cfd8df0161a9e58a07f26897790b /tests/debuginfo/enum-thinlto.rs
parent8c9040ceaa7ee32e77c8e8eb8002087accb13a38 (diff)
parent6de4bdfa8e36bcf5c814b0d43afc1cefb0630533 (diff)
downloadrust-0fc95e88f556d3fb95dd92f19a183a30bb5c9688.tar.gz
rust-0fc95e88f556d3fb95dd92f19a183a30bb5c9688.zip
Auto merge of #9318 - lukaslueg:ifletmutexref, r=xFrednet
Fix if_let_mutex not checking Mutexes behind refs

Fixes #9193

We can always peel references because we are looking for a method-call, for which autoderef applies.

---

changelog: [`if_let_mutex`]: detect calls to `Mutex::lock()` if mutex is behind a ref
changelog: [`if_let_mutex`]: Add labels to the two instances of the same Mutex that will deadlock
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions