1error: #[error(transparent)] needs to go outside the enum or struct, not on an individual field 2 --> $DIR/bad-field-attr.rs:5:18 3 | 45 | pub struct Error(#[error(transparent)] std::io::Error); 5 | ^^^^^^^^^^^^^^^^^^^^^ 6