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
The field name is converted to a number too eagerly.
This doesn't happen in struct expressions and patterns.
structS(i32);fnmain(){let s = S{0000:10};// ERROR struct `S` has no field named `0000`letS{0000:x} = s;// ERROR struct `S` does not have a field named `0000`}
…truct_indices, r=petrochenkov
in which leading zeroes on tuple-struct accesses are abjured
Resolves#47073. If accepted, a point in the compatibility section of the release notes is warranted.
The following compiles, but I think it shouldn't?
The text was updated successfully, but these errors were encountered: