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. |
||
|---|---|---|
| .. | ||
| args.rs | ||
| lib.rs | ||
| pretty.rs | ||
| print.rs | ||
| session_diagnostics.rs | ||