fparkan/vendor/thiserror/tests/ui/source-enum-unnamed-field-not-error.rs

13 lines
171 B
Rust
Raw Normal View History

use thiserror::Error;
#[derive(Debug)]
pub struct NotError;
#[derive(Error, Debug)]
#[error("...")]
pub enum ErrorEnum {
Broken(#[source] NotError),
}
fn main() {}