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

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

fn main() {}