diff --git a/src/libstd/backtrace.rs b/src/libstd/backtrace.rs index 4b47a8cf169..a1c9aa75d77 100644 --- a/src/libstd/backtrace.rs +++ b/src/libstd/backtrace.rs @@ -408,21 +408,3 @@ impl Capture { } } } - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn debug_backtrace_fmt() { - let bt = Backtrace::capture(); - eprintln!("uncaptured: {:?}", bt); - let bt = Backtrace::force_capture(); - eprintln!("captured: {:?}", bt); - eprintln!("display print: {}", bt); - eprintln!("display print alt: {:#}", bt); - eprintln!("resolved: {:?}", bt); - eprintln!("resolved alt: {:#?}", bt); - unimplemented!(); - } -}