thiserror/tests/ui/transparent-struct-source.rs
2019-11-30 23:39:30 -08:00

7 lines
126 B
Rust

use thiserror::Error;
#[derive(Error, Debug)]
#[error(transparent)]
pub struct Error(#[source] anyhow::Error);
fn main() {}