about summary refs log tree commit diff
path: root/library/std/src/panic.rs
diff options
context:
space:
mode:
authorGus Caplan <me@gus.host>2023-03-17 21:00:10 -0700
committerGus Caplan <me@gus.host>2023-03-17 21:00:10 -0700
commit3ae03c7aee740eda1f18ec7c189bc705cfb44964 (patch)
treed76e9f0746d41f9354de3709347ab3f5f8c626fa /library/std/src/panic.rs
parentd1712f49d72c3455abf275f1fb1d5b7653d02e2c (diff)
downloadrust-3ae03c7aee740eda1f18ec7c189bc705cfb44964.tar.gz
rust-3ae03c7aee740eda1f18ec7c189bc705cfb44964.zip
review
Diffstat (limited to 'library/std/src/panic.rs')
-rw-r--r--library/std/src/panic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/panic.rs b/library/std/src/panic.rs
index c827205f80b..345d72ef867 100644
--- a/library/std/src/panic.rs
+++ b/library/std/src/panic.rs
@@ -308,7 +308,7 @@ pub fn get_backtrace_style() -> Option<BacktraceStyle> {
                 BacktraceStyle::Short
             }
         })
-        .unwrap_or(if crate::sys::BACKTRACE_DEFAULT {
+        .unwrap_or(if crate::sys::FULL_BACKTRACE_DEFAULT {
             BacktraceStyle::Full
         } else {
             BacktraceStyle::Off