]> git.lizzy.rs Git - rust.git/commit
Auto merge of #8981 - PrestonFrom:more_details_for_significant_drop_lint, r=flip1995
authorbors <bors@rust-lang.org>
Wed, 29 Jun 2022 13:23:21 +0000 (13:23 +0000)
committerbors <bors@rust-lang.org>
Wed, 29 Jun 2022 13:23:21 +0000 (13:23 +0000)
commit90227c10f764d04372cb51fe4e3661702f4438a0
tree82c21d7eec73c9dae3a00104b2f1452640f32d98
parent4995b4e584a2d29c6805460b3002b4cf87bd1e2c
parent7bc40967a44f08e359c760ca6587b0d7d62e57a7
Auto merge of #8981 - PrestonFrom:more_details_for_significant_drop_lint, r=flip1995

Add details about how significant drop in match scrutinees can cause deadlocks

Adds more details about how a significant drop in a match scrutinee can cause a deadlock and include link to documentation.

changelog: Add more details to significant drop lint to explicitly show how temporaries in match scrutinees can cause deadlocks.