rust/compiler/rustc_session
Chris Denton 2fff8257ad
Rollup merge of #140077 - xizheyin:issue-139805, r=jieyouxu
Construct OutputType using macro and print [=FILENAME] help info

Closes #139805

Use define_output_types to define variants of OutputType, as well as refactor all of its methods for clarity. This way no variant is missed when pattern matching or output help messages.

On top of that, I optimized for `emit` help messages.

r? ```@jieyouxu```
2025-04-22 01:22:12 +00:00
..
src Rollup merge of #140077 - xizheyin:issue-139805, r=jieyouxu 2025-04-22 01:22:12 +00:00
Cargo.toml Prepend temp files with a string per invocation of rustc 2025-04-07 20:48:40 +00:00
messages.ftl Auto merge of #138947 - madsmtm:refactor-apple-versions, r=Noratrieb 2025-04-06 10:16:28 +00:00