rust/compiler/rustc_interface/src
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
..
callbacks.rs Do not call source_span when not tracking dependencies. 2024-08-24 16:40:40 +00:00
errors.rs Reformat `use` declarations. 2024-07-29 08:26:52 +10:00
interface.rs Add toggle for `parse_meta_item` unsafe parsing 2024-07-30 18:28:43 -05:00
lib.rs Add `warn(unreachable_pub)` to `rustc_interface`. 2024-08-27 15:11:54 +10:00
passes.rs Don't call closure_by_move_body_def_id on FnOnce async closures in MIR validation 2024-09-10 10:55:05 -04:00
proc_macro_decls.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
queries.rs Fix `elided_named_lifetimes` in code 2024-08-24 19:21:32 +03:00
tests.rs Auto merge of #130249 - compiler-errors:sad-new-solver-coherence, r=lcnr 2024-09-12 10:17:32 +00:00
util.rs rustc_interface: remove a redundant `#[allow(rustc::untranslatable_diagnostic)]` 2024-08-10 14:32:56 +03:00