You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a macro that uses num_enum derives on generated enums.
The derive is done with #[derive(macro_crate::enum_enum::TryFromPrimitive)]. My hope was that this would just work for the user, but this gives a compile error:
could not find 'num_enum' in the list of imported crates
It does suggest adding a use macro_crate::enum_enum; but that doesn't solve anything.
Would be nice if support for this usecase could be added.
The text was updated successfully, but these errors were encountered:
I've created a macro that uses num_enum derives on generated enums.
The derive is done with
#[derive(macro_crate::enum_enum::TryFromPrimitive)]
. My hope was that this would just work for the user, but this gives a compile error:It does suggest adding a
use macro_crate::enum_enum;
but that doesn't solve anything.Would be nice if support for this usecase could be added.
The text was updated successfully, but these errors were encountered: