thiserror/tests/ui/transparent-struct-not-error.rs

9 lines
125 B
Rust

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