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
{{ message }}
Repository navigation
are feature gates for tuple indexing and slicing properly enforced? #18180
I have seen evidence that both tuple indexing and slicing syntax are silently allowed by rustc, rather than requiring the feature gate turned on to enable them.
It could be that I missed some step along the way where these features were officially enabled. But I think its more likely that someone has accidentally turned them both on somehow, especially since the team discussion from last Thursday on #18006 included statements that tuple-indexing is meant to be feature gated.
Note that I demonstrated running both the release (0.12) and a recent development (4480caf) build of rustc on the file that is using these features without the gate.
Activity
pnkfelix commentedon Oct 20, 2014
Note that I demonstrated running both the release (0.12) and a recent development (4480caf) build of rustc on the file that is using these features without the gate.
nrc commentedon Oct 20, 2014
#18102 ?
pnkfelix commentedon Oct 20, 2014
oh... right.
pnkfelix commentedon Oct 20, 2014
(closing as duplicate of #18102 )
Auto merge of rust-lang#18180 - kpreid:search, r=davidbarsky