Dylan DPC 7cbe7fa6bf
Rollup merge of #114965 - benschulz:mpsc-drop, r=dtolnay
Remove Drop impl of mpsc Receiver and (Sync)Sender

This change removes the empty `Drop` implementations for `mpsc::Receiver`, `mpsc::Sender` and `mpsc::SyncSender`. These implementations do not specify `#[may_dangle]`, so by removing them we make `mpsc` types play nice with drop check.

This was previously attempted in [#105243](https://github.com/rust-lang/rust/pull/105243#issuecomment-1337188646) but then [abandoned due to a test failure](https://github.com/rust-lang/rust/pull/105243#issuecomment-1337227970). I've aligned the test with those for `Mutex` and `RwLock`.
2023-09-17 11:23:23 +00:00
..
2023-09-15 22:57:07 +02:00
2023-09-06 12:09:29 +03:00
2023-09-13 15:00:31 +00:00
2023-09-10 23:06:14 +02:00
2023-09-13 15:00:31 +00:00
2023-09-07 11:07:33 +08:00
2023-09-16 01:28:13 -04:00
2023-09-08 15:12:17 +02:00
2023-09-10 23:06:14 +02:00
2023-09-10 23:06:14 +02:00
2023-09-10 23:06:14 +02:00