rust/compiler/rustc_session/src
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
..
config Add unstable foo::bar extern command line arguments 2025-04-15 13:04:50 -07:00
code_stats.rs Document why CodeStats::type_sizes is public 2025-04-21 17:36:36 +02:00
config.rs Construct OutputType using macro and print [=FILENAME] help info 2025-04-21 18:07:58 +08:00
cstore.rs Update comments 2024-12-19 15:30:32 +00:00
errors.rs Auto merge of #138947 - madsmtm:refactor-apple-versions, r=Noratrieb 2025-04-06 10:16:28 +00:00
filesearch.rs Cache current_dll_path output 2025-03-21 12:46:24 +00:00
lib.rs Remove #![warn(unreachable_pub)] from all compiler/ crates. 2025-03-11 13:14:21 +11:00
options.rs Rollup merge of #139042 - compiler-errors:do-not-optimize-switchint, r=saethlin 2025-04-19 19:30:46 +00:00
output.rs Auto merge of #138906 - thaliaarchi:unsupported-test-exe, r=bjorn3 2025-04-15 16:05:15 +00:00
parse.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
search_paths.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
session.rs Stabilize -Zdwarf-version as -Cdwarf-version 2025-04-14 21:26:41 -05:00
utils.rs use slice::contains where applicable 2025-03-28 12:21:21 +00:00