许杰友 Jieyou Xu (Joe) 0e710d0883
Rollup merge of #141431 - compiler-errors:open-drop, r=oli-obk
Emit dummy open drop for unsafe binder

Fixes rust-lang/rust#141394

We can't taint the body in wfcheck when we have a `T: Copy` bound failure, so we end up binding MIR here. Emit a dummy open drop so that drop elaboration doesn't fail.

r? oli-obk
2025-05-27 01:29:18 +08:00
..
2025-04-24 11:36:07 +10:00
2025-05-12 15:33:37 +02:00
2025-04-29 14:03:06 +00:00