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

#[derive(Error, Debug)]
pub enum Error {
    #[error(transparent)]
    Other(anyhow::Error, String),
}

fn main() {}