error: define_errors!: a variant may carry only one #[error(display = "...")] attribute
--> tests/ui/fail/define_errors_duplicate_display.rs:1:1
|
1 | / error_forge::define_errors! {
2 | | pub enum NetError {
3 | | #[error(display = "first")]
4 | | #[kind(Net)]
... |
8 | | }
| |_^
|
= note: this error originates in the macro `$crate::define_errors` which comes from the expansion of the macro `error_forge::define_errors` (in Nightly builds, run with -Z macro-backtrace for more info)