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
Deriving TryFrom, TryInto or FromStr when there's an associated item called Error or Err will fail.
All of these derives fail:
use derive_more::*;#[derive(TryFrom)]#[try_from(repr)]#[repr(u8)]enumLogLevel{Error,}#[derive(FromStr)]enumEnumNoFields{Err,}#[derive(TryInto)]enumMixedInts{Foo(LogLevel),}
I will send a PR shortly that will fix this issue.
The text was updated successfully, but these errors were encountered:
Deriving
TryFrom
,TryInto
orFromStr
when there's an associated item calledError
orErr
will fail.All of these derives fail:
I will send a PR shortly that will fix this issue.
The text was updated successfully, but these errors were encountered: