error: cannot derive empty enum
--> tests/compile_fail/empty_enum.rs:3:10
|
3 | #[derive(Validatable)]
| ^^^^^^^^^^^
|
= note: this error originates in the derive macro `Validatable` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0392]: type parameter `F` is never used
--> tests/compile_fail/empty_enum.rs:4:11
|
4 | enum Test<F: FieldFamily> {}
| ^ unused type parameter
|
= help: consider removing `F`, referring to it in a field, or using a marker such as `PhantomData`