error: enum_delegate only supports methods and associated types in traits
--> tests_error/unsupported_trait_item.rs:3:5
|
3 | const C: usize;
| ^^^^^
...
12 | #[enum_delegate::implement(Foo)]
| -------------------------------- in this procedural macro expansion
|
= note: this error originates in the macro `Foo` which comes from the expansion of the attribute macro `enum_delegate::implement` (in Nightly builds, run with -Z macro-backtrace for more info)