about summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2024-08-11 09:07:52 +0100
committerGeorge Bateman <george.bateman16@gmail.com>2024-08-11 09:10:30 +0100
commit6360287fd91c5d02597b45ef65c34388af348638 (patch)
tree50fc07147cf5b9a64f0e19f5ce322cf6445cb4b2 /compiler/rustc_session/src
parentb389b0ab72cb0aa9acf4df0ae0c0e12090782da9 (diff)
downloadrust-6360287fd91c5d02597b45ef65c34388af348638.tar.gz
rust-6360287fd91c5d02597b45ef65c34388af348638.zip
Fix #128930: Print documentation of CLI options missing their arg
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs
index f58a991a616..6699fd8332b 100644
--- a/compiler/rustc_session/src/config.rs
+++ b/compiler/rustc_session/src/config.rs
@@ -1349,7 +1349,7 @@ enum OptionStability {
 
 pub struct RustcOptGroup {
     pub apply: Box<dyn Fn(&mut getopts::Options) -> &mut getopts::Options>,
-    name: &'static str,
+    pub name: &'static str,
     stability: OptionStability,
 }