thiserror/tests/ui/transparent-enum-unnamed-field-not-error.rs

9 lines
125 B
Rust

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