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
This fails to compile because Vec<usize> does not impl FromMeta.
The problem is the generated code for handling a missing field, which attempts to call <Vec<usize> as FromMeta>::from_none; that doesn't exist, and so the code doesn't compile. Adding a default for the field or struct works fine, but that shouldn't be required to make this work.
The text was updated successfully, but these errors were encountered:
Right now, the following code doesn't work:
This fails to compile because
Vec<usize>
does not implFromMeta
.The problem is the generated code for handling a missing field, which attempts to call
<Vec<usize> as FromMeta>::from_none
; that doesn't exist, and so the code doesn't compile. Adding adefault
for the field or struct works fine, but that shouldn't be required to make this work.The text was updated successfully, but these errors were encountered: