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
&name.0.0 doesn't work because 0.0 is a floating-point literal. Either (&name.0).0 or &name.0 .0 works.
The compiler prints a help notice for &name.0.0:
test.rs:9:24: 9:24 help: try parenthesizing the first index; e.g., `(foo.0)`
Issue #20287 requested that &name.0.0 work, but it was closed. That issue has relevant links (e.g. the tuple indexing RFC and the weekly minutes where this issue was discussed).
{Copying from here: http://stackoverflow.com/questions/29250677/unable-to-chain-access-tuple-types}
Given:
i can do:
but i cannot do:
to access the internals. I have to do it twice:
why am i unable to chain it to access inner sub-tuples, tuple-structs etc?
The text was updated successfully, but these errors were encountered: