error: `PassByEnum` only supports unit variants. --> tests/ui/pass_by_enum_with_value_variant.rs:20:10 | 20 | #[derive(PassByEnum)] | ^^^^^^^^^^ | = note: this error originates in the derive macro `PassByEnum` (in Nightly builds, run with -Z macro-backtrace for more info)