1error: expected attribute arguments in parentheses: #[error(...)] 2 --> tests/ui/fallback-impl-with-display.rs:5:3 3 | 45 | #[error] 5 | ^^^^^ 6 7error[E0119]: conflicting implementations of trait `std::fmt::Display` for type `MyError` 8 --> tests/ui/fallback-impl-with-display.rs:4:10 9 | 104 | #[derive(Error, Debug)] 11 | ^^^^^ conflicting implementation for `MyError` 12... 138 | impl Display for MyError { 14 | ------------------------ first implementation here 15 | 16 = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) 17