error: no rules expected the token `body_enum`
--> src/lib.rs:16:10
|
3 | #[delegatable_trait]
| -------------------- when calling this macro
...
16 | #[derive(Delegate)]
| ^^^^^^^^ no rules expected this token in macro call
|
= note: this error originates in the derive macro `Delegate` (in Nightly builds, run with -Z macro-backtrace for more info)
Currently, it seems
Delegate
can't be used with a single variant Enum, which was allowed inv0.2
.Example:
↓