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

10 lines
140 B
Rust
Raw Normal View History

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