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

9 lines
142 B
Rust

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