rust/compiler/rustc_session/src
Matthias Krüger fe3428d9ac
Rollup merge of #128961 - GKFX:issue-128930-explain-missing-option, r=jieyouxu
Fix #128930: Print documentation of CLI options missing their arg

Fix #128930. Failing to give an argument to CLI options which require it now prints something like:
```
$ rustc --print
error: Argument to option 'print' missing
       Usage:
           --print [crate-name|file-names|sysroot|target-libdir|cfg|check-cfg|calling-conventions|target-list|target-cpus|target-features|relocation-models|code-models|tls-models|target-spec-json|all-target-specs-json|native-static-libs|stack-protector-strategies|link-args|deployment-target]
                               Compiler information to print on stdout
```
2024-09-17 17:28:31 +02:00
..
config fmt-debug option 2024-08-28 23:32:40 +01:00
code_stats.rs
config.rs Rollup merge of #128961 - GKFX:issue-128930-explain-missing-option, r=jieyouxu 2024-09-17 17:28:31 +02:00
cstore.rs
errors.rs Rollup merge of #129897 - RalfJung:soft-float-ignored, r=Urgau 2024-09-15 20:55:12 +02:00
filesearch.rs Remove needless returns detected by clippy in the compiler 2024-09-09 13:32:22 +02:00
lib.rs Add warn(unreachable_pub) to rustc_session. 2024-09-03 08:49:54 +10:00
options.rs Rollup merge of #129897 - RalfJung:soft-float-ignored, r=Urgau 2024-09-15 20:55:12 +02:00
output.rs
parse.rs Add set_dcx to ParseSess 2024-09-13 11:15:19 +02:00
search_paths.rs Make SearchPath::new public 2024-09-11 11:40:01 +02:00
session.rs Rollup merge of #129897 - RalfJung:soft-float-ignored, r=Urgau 2024-09-15 20:55:12 +02:00
utils.rs
version.rs