1 2 3 4 5
error: transparent error struct can't contain #[source] --> tests/ui/transparent-struct-source.rs:5:18 | 5 | pub struct Error(#[source] anyhow::Error); | ^^^^^^^^^