fparkan/vendor/thiserror/tests/ui/duplicate-enum-source.rs

14 lines
196 B
Rust
Raw Normal View History

use thiserror::Error;
#[derive(Error, Debug)]
pub enum ErrorEnum {
Confusing {
#[source]
a: std::io::Error,
#[source]
b: anyhow::Error,
},
}
fn main() {}