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

10 lines
137 B
Rust
Raw Normal View History

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