about summary refs log tree commit diff
path: root/library/std/src/backtrace.rs
diff options
context:
space:
mode:
authorTheodore Dubois <tbodt@google.com>2022-08-11 11:00:07 -0700
committerTheodore Dubois <tbodt@google.com>2022-08-11 11:00:07 -0700
commit121fab0396c0637ac7b16a50fa78ae3d470aae16 (patch)
tree97266f80575bb41421979996d3bb3ad1095108f4 /library/std/src/backtrace.rs
parentaeb5067967ef58e4a324b19dd0dba2f385d5959f (diff)
downloadrust-121fab0396c0637ac7b16a50fa78ae3d470aae16.tar.gz
rust-121fab0396c0637ac7b16a50fa78ae3d470aae16.zip
Add stability attributes to BacktraceStatus variants
Fixes #100399
Diffstat (limited to 'library/std/src/backtrace.rs')
-rw-r--r--library/std/src/backtrace.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/backtrace.rs b/library/std/src/backtrace.rs
index b91db03a3d5..5cf6ec81789 100644
--- a/library/std/src/backtrace.rs
+++ b/library/std/src/backtrace.rs
@@ -118,12 +118,15 @@ pub struct Backtrace {
 pub enum BacktraceStatus {
     /// Capturing a backtrace is not supported, likely because it's not
     /// implemented for the current platform.
+    #[stable(feature = "backtrace", since = "1.65.0")]
     Unsupported,
     /// Capturing a backtrace has been disabled through either the
     /// `RUST_LIB_BACKTRACE` or `RUST_BACKTRACE` environment variables.
+    #[stable(feature = "backtrace", since = "1.65.0")]
     Disabled,
     /// A backtrace has been captured and the `Backtrace` should print
     /// reasonable information when rendered.
+    #[stable(feature = "backtrace", since = "1.65.0")]
     Captured,
 }