1error: only one #[error(...)] attribute is allowed
2 --> tests/ui/duplicate-fmt.rs:5:1
3  |
45 | #[error("...")]
5  | ^^^^^^^^^^^^^^^
6