File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ pub fn default_output_stream() -> Box<StandardStream> {
121121 } ) )
122122}
123123
124+ #[ doc( hidden) ]
124125#[ deprecated(
125126 since = "0.4.0" ,
126127 note = "Use `BacktracePrinter::into_panic_handler()` instead."
@@ -139,6 +140,7 @@ pub fn create_panic_handler(
139140 } )
140141}
141142
143+ #[ doc( hidden) ]
142144#[ deprecated( since = "0.4.0" , note = "Use `BacktracePrinter::install()` instead." ) ]
143145pub fn install_with_settings ( printer : BacktracePrinter ) {
144146 std:: panic:: set_hook ( printer. into_panic_handler ( default_output_stream ( ) ) )
@@ -499,6 +501,7 @@ impl Default for ColorScheme {
499501 }
500502}
501503
504+ #[ doc( hidden) ]
502505#[ deprecated( since = "0.4.0" , note = "Use `BacktracePrinter` instead." ) ]
503506pub type Settings = BacktracePrinter ;
504507
@@ -815,11 +818,13 @@ impl BacktracePrinter {
815818// [Deprecated routines for backward compat] //
816819// ============================================================================================== //
817820
821+ #[ doc( hidden) ]
818822#[ deprecated( since = "0.4.0" , note = "Use `BacktracePrinter::print_trace` instead`" ) ]
819823pub fn print_backtrace ( trace : & backtrace:: Backtrace , s : & mut BacktracePrinter ) -> IOResult {
820824 s. print_trace ( trace, & mut default_output_stream ( ) )
821825}
822826
827+ #[ doc( hidden) ]
823828#[ deprecated(
824829 since = "0.4.0" ,
825830 note = "Use `BacktracePrinter::print_panic_info` instead`"
You can’t perform that action at this time.
0 commit comments