ZeroTierOne/zeroidc/vendor/thiserror/tests/ui/transparent-struct-source.rs

8 lines
126 B
Rust

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