about summary refs log tree commit diff
path: root/src/debuginfo
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-07-06 07:44:47 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-07-13 17:47:06 -0500
commitb2ae24e6a1bce9197246e86281ba7d1b04084d9d (patch)
tree9f512b28c8541a25ad2c0c6b7570b43f04f150ca /src/debuginfo
parent43388812a61d455645acfd3736ab41c0b2f259e3 (diff)
downloadrust-b2ae24e6a1bce9197246e86281ba7d1b04084d9d.tar.gz
rust-b2ae24e6a1bce9197246e86281ba7d1b04084d9d.zip
Rename `debugging_opts` to `unstable_opts`
This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`).
Rename it to be more clear.
Diffstat (limited to 'src/debuginfo')
-rw-r--r--src/debuginfo/line_info.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debuginfo/line_info.rs b/src/debuginfo/line_info.rs
index 476d6a54e12..bbcb9591373 100644
--- a/src/debuginfo/line_info.rs
+++ b/src/debuginfo/line_info.rs
@@ -140,7 +140,7 @@ impl<'tcx> DebugContext<'tcx> {
             // In order to have a good line stepping behavior in debugger, we overwrite debug
             // locations of macro expansions with that of the outermost expansion site
             // (unless the crate is being compiled with `-Z debug-macros`).
-            let span = if !span.from_expansion() || tcx.sess.opts.debugging_opts.debug_macros {
+            let span = if !span.from_expansion() || tcx.sess.opts.unstable_opts.debug_macros {
                 span
             } else {
                 // Walk up the macro expansion chain until we reach a non-expanded span.