5858//! `RUST_LIB_BACKTRACE` or `RUST_BACKTRACE` at runtime might not actually change
5959//! how backtraces are captured.
6060
61- #![ stable( feature = "backtrace" , since = "1.64 .0" ) ]
61+ #![ stable( feature = "backtrace" , since = "1.65 .0" ) ]
6262
6363#[ cfg( test) ]
6464mod tests;
@@ -104,15 +104,15 @@ use crate::vec::Vec;
104104/// previous point in time. In some instances the `Backtrace` type may
105105/// internally be empty due to configuration. For more information see
106106/// `Backtrace::capture`.
107- #[ stable( feature = "backtrace" , since = "1.64 .0" ) ]
107+ #[ stable( feature = "backtrace" , since = "1.65 .0" ) ]
108108#[ must_use]
109109pub struct Backtrace {
110110 inner : Inner ,
111111}
112112
113113/// The current status of a backtrace, indicating whether it was captured or
114114/// whether it is empty for some other reason.
115- #[ stable( feature = "backtrace" , since = "1.64 .0" ) ]
115+ #[ stable( feature = "backtrace" , since = "1.65 .0" ) ]
116116#[ non_exhaustive]
117117#[ derive( Debug , PartialEq , Eq ) ]
118118pub enum BacktraceStatus {
@@ -170,7 +170,7 @@ enum BytesOrWide {
170170 Wide ( Vec < u16 > ) ,
171171}
172172
173- #[ stable( feature = "backtrace" , since = "1.64 .0" ) ]
173+ #[ stable( feature = "backtrace" , since = "1.65 .0" ) ]
174174impl fmt:: Debug for Backtrace {
175175 fn fmt ( & self , fmt : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
176176 let capture = match & self . inner {
@@ -286,7 +286,7 @@ impl Backtrace {
286286 ///
287287 /// To forcibly capture a backtrace regardless of environment variables, use
288288 /// the `Backtrace::force_capture` function.
289- #[ stable( feature = "backtrace" , since = "1.64 .0" ) ]
289+ #[ stable( feature = "backtrace" , since = "1.65 .0" ) ]
290290 #[ inline( never) ] // want to make sure there's a frame here to remove
291291 pub fn capture ( ) -> Backtrace {
292292 if !Backtrace :: enabled ( ) {
@@ -305,16 +305,16 @@ impl Backtrace {
305305 /// Note that capturing a backtrace can be an expensive operation on some
306306 /// platforms, so this should be used with caution in performance-sensitive
307307 /// parts of code.
308- #[ stable( feature = "backtrace" , since = "1.64 .0" ) ]
308+ #[ stable( feature = "backtrace" , since = "1.65 .0" ) ]
309309 #[ inline( never) ] // want to make sure there's a frame here to remove
310310 pub fn force_capture ( ) -> Backtrace {
311311 Backtrace :: create ( Backtrace :: force_capture as usize )
312312 }
313313
314314 /// Forcibly captures a disabled backtrace, regardless of environment
315315 /// variable configuration.
316- #[ stable( feature = "backtrace" , since = "1.64 .0" ) ]
317- #[ rustc_const_stable( feature = "backtrace" , since = "1.64 .0" ) ]
316+ #[ stable( feature = "backtrace" , since = "1.65 .0" ) ]
317+ #[ rustc_const_stable( feature = "backtrace" , since = "1.65 .0" ) ]
318318 pub const fn disabled ( ) -> Backtrace {
319319 Backtrace { inner : Inner :: Disabled }
320320 }
@@ -358,7 +358,7 @@ impl Backtrace {
358358 /// Returns the status of this backtrace, indicating whether this backtrace
359359 /// request was unsupported, disabled, or a stack trace was actually
360360 /// captured.
361- #[ stable( feature = "backtrace" , since = "1.64 .0" ) ]
361+ #[ stable( feature = "backtrace" , since = "1.65 .0" ) ]
362362 #[ must_use]
363363 pub fn status ( & self ) -> BacktraceStatus {
364364 match self . inner {
@@ -378,7 +378,7 @@ impl<'a> Backtrace {
378378 }
379379}
380380
381- #[ stable( feature = "backtrace" , since = "1.64 .0" ) ]
381+ #[ stable( feature = "backtrace" , since = "1.65 .0" ) ]
382382impl fmt:: Display for Backtrace {
383383 fn fmt ( & self , fmt : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
384384 let capture = match & self . inner {
0 commit comments