summaryrefslogtreecommitdiffstats
path: root/third_party/rust/thiserror/tests/ui/transparent-struct-many.rs
blob: 18f2466450cafb141fd33fda9bce83025cf44d3d (plain)
1
2
3
4
5
6
7
8
9
10
use thiserror::Error;

#[derive(Error, Debug)]
#[error(transparent)]
pub struct Error {
    inner: anyhow::Error,
    what: String,
}

fn main() {}