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

10 lines
125 B
Rust
Raw Normal View History

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