mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
1da1348924
There's no need to store it in `Queries`. We can just use a local variable, because it's always used shortly after it's produced. The commit also removes the `tcx.analysis()` call in `ongoing_codegen`, because it's easy to ensure that's done beforehand. All this makes the dataflow within `run_compiler` easier to follow, at the cost of making one test slightly more verbose, which I think is a good tradeoff. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |