about summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-11-29 06:08:48 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-11-29 06:10:16 +1100
commitaccdfa1e526af99c4c60412a12a9a8253eab5984 (patch)
tree69282d0e3c53afba436b2893abcc334c8d973172 /compiler/rustc_session/src
parent76adf05cfbffd78fc3f9e123634e992a70798e8f (diff)
downloadrust-accdfa1e526af99c4c60412a12a9a8253eab5984.tar.gz
rust-accdfa1e526af99c4c60412a12a9a8253eab5984.zip
Update `-Zshow-span` help message.
To clarify how it works.
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/options.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs
index 47c191e67ba..25f75ae12e8 100644
--- a/compiler/rustc_session/src/options.rs
+++ b/compiler/rustc_session/src/options.rs
@@ -2037,7 +2037,7 @@ written to standard error output)"),
     shell_argfiles: bool = (false, parse_bool, [UNTRACKED],
         "allow argument files to be specified with POSIX \"shell-style\" argument quoting"),
     show_span: Option<String> = (None, parse_opt_string, [TRACKED],
-        "show spans for compiler debugging (expr|pat|ty)"),
+        "show spans in the crate root file, for compiler debugging (expr|pat|ty)"),
     simulate_remapped_rust_src_base: Option<PathBuf> = (None, parse_opt_pathbuf, [TRACKED],
         "simulate the effect of remap-debuginfo = true at bootstrapping by remapping path \
         to rust's source base directory. only meant for testing purposes"),