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
While generating field names in macros would be tricky (since we'd need to synthesize 0, 1, etc), we don't actually need to use field names - we just need to use unique strings. We can do this by having the string input to the hash function be all types up through and including the given field. E.g., for the type:
While generating field names in macros would be tricky (since we'd need to synthesize
0
,1
, etc), we don't actually need to use field names - we just need to use unique strings. We can do this by having the string input to the hash function be all types up through and including the given field. E.g., for the type:We would desugar into:
The text was updated successfully, but these errors were encountered: