bors b218009f46 Auto merge of #14576 - HKalbasi:dev2, r=HKalbasi
Fix explicit deref problems in closure capture

fix the `need-mut` part of #14562

Perhaps surprisingly, it wasn't unique immutable borrow. The code still doesn't emit any of them, and I think those won't happen in edition 2021 (which is currently the only thing implemented), since we always capture `&mut *x` instead of `&mut x`. But I'm not very sure about it.
2023-04-14 13:23:49 +00:00
..
2023-04-11 21:21:10 +09:00
2023-02-13 13:55:14 +02:00
2023-03-25 15:12:39 +01:00
2023-03-13 10:42:24 +02:00
2023-02-13 13:55:14 +02:00
2023-02-13 13:55:14 +02:00
2023-02-20 10:14:12 +02:00
2023-04-01 15:26:03 +02:00
2023-02-13 13:55:14 +02:00
2023-03-25 15:12:39 +01:00
2023-02-20 10:14:12 +02:00
2023-04-11 14:39:19 +02:00
2023-03-13 10:42:24 +02:00
2023-04-11 14:39:19 +02:00
2023-03-31 10:36:13 +02:00
2023-02-13 13:55:14 +02:00