rust/compiler/rustc_driver_impl/src
Nicholas Nethercote 1da1348924 Remove Queries::ongoing_codegen.
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.
2023-06-21 11:29:45 +10:00
..
args.rs Rollup merge of #109084 - dekrain:fix-panic-arg0-expansion, r=petrochenkov 2023-05-27 20:40:27 +02:00
lib.rs Remove Queries::ongoing_codegen. 2023-06-21 11:29:45 +10:00
pretty.rs Write to stdout if - is given as output file 2023-06-06 17:53:29 -04:00
print.rs Fix ICE on --print=... i/o errors 2023-04-25 08:17:18 -07:00
session_diagnostics.rs Add a new rustc_driver dylib to rexport rustc_driver_impl 2023-02-02 07:34:41 +01:00