Stuart Cook 04e744e77d
Rollup merge of #130199 - compiler-errors:by-move, r=cjgillot
Don't call closure_by_move_body_def_id on FnOnce async closures in MIR validation

Refactors the check in #129847 to not unncessarily call the `closure_by_move_body_def_id` query for async closures that don't *need* a by-move body.

Fixes #130167
2024-09-14 11:53:12 +10:00
..
2024-09-10 08:42:30 +10:00
2024-09-10 08:54:17 +10:00
2024-09-13 16:27:24 +10:00
2024-09-10 08:42:30 +10:00
2024-09-10 09:11:17 +10:00
2024-09-10 08:42:30 +10:00
2024-09-10 08:54:22 +10:00
2024-09-10 08:42:30 +10:00
2024-09-10 08:42:30 +10:00
2024-09-10 08:42:30 +10:00
2024-09-10 08:54:17 +10:00