error: cannot derive unit struct
--> tests/compile_fail/unit_struct.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/unit_struct.rs:4:13
|
4 | struct Test<F: FieldFamily>;
| ^ unused type parameter
|
= help: consider removing `F`, referring to it in a field, or using a marker such as `PhantomData`