Files
rust/compiler/rustc_query_impl
Nicholas Nethercote 8b0c2591fa Inline and remove execute_job.
`execute_job` has a single call site in `try_execute_query`. This commit
inlines and removes `execute_job`, but also puts the part that checks
feedable results in its own separate function, `check_feedable`, because
it's a nicely separate piece of logic.

The big win here is that all the code dealing with the `QueryState` is
now together in `try_execute_query`: get the lock, do the lookup, drop
the lock, create the job guard, and complete the job guard. Previously
these steps were split across two functions which I found hard to
follow.

This commit purely moves code around, there are no other changes.
2026-03-13 13:59:29 +11:00
..
2026-03-13 13:59:29 +11:00