Trait bounds on transparent IntoStaticStr
#441
Unanswered
blind-oracle
asked this question in
Q&A
Replies: 1 comment
-
I've tried adding
to the
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a bit confused, I want to implement something like:
And this fails with
But when I just nest one
IntoStaticStr
derived variant Enum into another withtransparent
it works fine, so it means I'm missing some trait bound on theInnerTypeTrait
.Any idea what that might be? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions