error: cannot have both #[error(transparent)] and a display attribute --> $DIR/transparent-display.rs:5:1 | 5 | #[error("...")] | ^^^^^^^^^^^^^^^