about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-11-17 11:04:38 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-11-18 07:38:05 +1100
commit8aee35e2ed51a9f782c1bff3f8a165b5a85f0c43 (patch)
treece1e8a9f800780e6b93334b0917c516f24fa2c0e /compiler/rustc_codegen_gcc/src
parent706eb1604b45e922858e04cf6abee7e58aa92730 (diff)
downloadrust-8aee35e2ed51a9f782c1bff3f8a165b5a85f0c43.tar.gz
rust-8aee35e2ed51a9f782c1bff3f8a165b5a85f0c43.zip
Merge `interface::run_compiler` calls.
`rustc_driver_impl::run_compiler` currently has two
`interface::run_compiler` calls: one for the "no input" case, and one
for the normal case.

This commit merges the former into the latter, which makes the control
flow easier to read and avoids some duplication.

It also makes it clearer that the "no input" case will describe lints
before printing crate info, while the normal case does it in the reverse
order. Possibly a bug?
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions