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 tried a few different variations of having one lifetime depend on the other, but everything I've tried gives me error[E0276]: impl has stricter requirements than trait.
Is it possible with the current userdata api to implement UserData on a type that already has lua values in it? I realize that the two lifetimes need to be the same, but I can't figure out how to represent that and still implement the trait properly.
The text was updated successfully, but these errors were encountered:
This is more of a question than a bug, but I'm trying to get the following simplified example to work:
I've tried a few different variations of having one lifetime depend on the other, but everything I've tried gives me
error[E0276]: impl has stricter requirements than trait
.Is it possible with the current userdata api to implement
UserData
on a type that already has lua values in it? I realize that the two lifetimes need to be the same, but I can't figure out how to represent that and still implement the trait properly.The text was updated successfully, but these errors were encountered: