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
See dtolnay/quote#101.
This commit fixes the tuple indexing code to use `syn::Index`.
This prevents the generated code from having integral type suffixes, which are
no longer valid for indexing into tuples.
https://github.com/dtolnay/syn/blob/0.15.29/examples/heapsize/heapsize_derive/src/lib.rs#L75-L83 shows using an integer index to index into a tuple struct, but this could be covered in quote documentation too. Interpolating an integer without syn::Index always includes the integer suffix on the resulting literal.
The text was updated successfully, but these errors were encountered: