using anyhow::Result
This commit is contained in:
@@ -0,0 +1 @@
|
||||
This file has an mtime of when this was started.
|
||||
26
target/debug/build/anyhow-9bfae673c75a0f19/out/probe.rs
Normal file
26
target/debug/build/anyhow-9bfae673c75a0f19/out/probe.rs
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
#![feature(backtrace)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
use std::backtrace::{Backtrace, BacktraceStatus};
|
||||
use std::error::Error;
|
||||
use std::fmt::{self, Display};
|
||||
|
||||
#[derive(Debug)]
|
||||
struct E;
|
||||
|
||||
impl Display for E {
|
||||
fn fmt(&self, _formatter: &mut fmt::Formatter) -> fmt::Result {
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
|
||||
impl Error for E {
|
||||
fn backtrace(&self) -> Option<&Backtrace> {
|
||||
let backtrace = Backtrace::capture();
|
||||
match backtrace.status() {
|
||||
BacktraceStatus::Captured | BacktraceStatus::Disabled | _ => {}
|
||||
}
|
||||
unimplemented!()
|
||||
}
|
||||
}
|
||||
0
target/debug/build/anyhow-9bfae673c75a0f19/output
Normal file
0
target/debug/build/anyhow-9bfae673c75a0f19/output
Normal file
1
target/debug/build/anyhow-9bfae673c75a0f19/root-output
Normal file
1
target/debug/build/anyhow-9bfae673c75a0f19/root-output
Normal file
@@ -0,0 +1 @@
|
||||
/Users/adamkramer/advent/target/debug/build/anyhow-9bfae673c75a0f19/out
|
||||
0
target/debug/build/anyhow-9bfae673c75a0f19/stderr
Normal file
0
target/debug/build/anyhow-9bfae673c75a0f19/stderr
Normal file
Reference in New Issue
Block a user