mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-13 08:20:03 +00:00
13 lines
250 B
Rust
13 lines
250 B
Rust
// https://github.com/dtolnay/thiserror/issues/163
|
|
|
|
#![feature(backtrace)]
|
|
|
|
use std::backtrace::Backtrace;
|
|
use thiserror::Error;
|
|
|
|
#[derive(Error, Debug)]
|
|
#[error("...")]
|
|
pub struct Error(#[from] #[backtrace] std::io::Error, Backtrace);
|
|
|
|
fn main() {}
|