☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
thiserror
/
tests
/
ui
/
from-backtrace-backtrace.rs
☽
☼
debian/rust-vendor/thiserror/tests/ui/from-backtrace-backtrace.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
// https://github.com/dtolnay/thiserror/issues/163
2
3
use std::backtrace::Backtrace;
4
use thiserror::Error;
5
6
#[derive(Error, Debug)]
7
#[error("...")]
8
pub struct Error(
9
#[from]
10
#[backtrace]
11
std::io::Error,
12
Backtrace,
13
);
14
15
fn main() {}