fparkan/vendor/thiserror/tests/ui/transparent-enum-source.rs

10 lines
142 B
Rust
Raw Normal View History

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