about summary refs log tree commit diff
path: root/src/librustc_session
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_session')
-rw-r--r--src/librustc_session/options.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_session/options.rs b/src/librustc_session/options.rs
index a38e7f063d7..d22c6ec9d7d 100644
--- a/src/librustc_session/options.rs
+++ b/src/librustc_session/options.rs
@@ -996,6 +996,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
         "make the current crate share its generic instantiations"),
     show_span: Option<String> = (None, parse_opt_string, [TRACKED],
         "show spans for compiler debugging (expr|pat|ty)"),
+    span_debug: bool = (false, parse_bool, [UNTRACKED],
+        "forward proc_macro::Span's `Debug` impl to `Span`"),
     // o/w tests have closure@path
     span_free_formats: bool = (false, parse_bool, [UNTRACKED],
         "exclude spans when debug-printing compiler state (default: no)"),