error[E0277]: the trait bound `NoDefault: Default` is not satisfied
--> tests/ui/enum_str_no_default_value.rs:5:10
|
5 | #[derive(EnumStr)]
| ^^^^^^^ the trait `Default` is not implemented for `NoDefault`
|
= note: this error originates in the derive macro `EnumStr` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider annotating `NoDefault` with `#[derive(Default)]`
|
3 + #[derive(Default)]
4 | struct NoDefault {}
|