Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate the TupleN traits, and stop using them internally #19677

Merged
merged 13 commits into from
Dec 14, 2014

Conversation

japaric
Copy link
Member

@japaric japaric commented Dec 9, 2014

r? @alexcrichton or anyone else
closes #18006

@@ -24,6 +24,7 @@
#![allow(unknown_features)]
#![feature(macro_rules, default_type_params, phase, globs)]
#![feature(unsafe_destructor, import_shadowing, slicing_syntax)]
#![feature(tuple_indexing)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought tuple_indexing was un-feature-gated, wans't it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was, but the un-feature-gating hasn’t made it into a snapshot yet, so the compiler won’t bootstrap without that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes in master, but it's still feature gated in the current stage-0 snapshot.

@alexcrichton
Copy link
Member

Awesome work @japaric, thanks!

@japaric
Copy link
Member Author

japaric commented Dec 10, 2014

@alexcrichton Addressed your comment. r?

@alexcrichton
Copy link
Member

Needs a rebase

@japaric
Copy link
Member Author

japaric commented Dec 13, 2014

@alexcrichton Rebased, and removed the feature gates I previously added. re-r?

@japaric
Copy link
Member Author

japaric commented Dec 13, 2014

Argh windows! y u no pass?!

@alexcrichton I think I removed all our usages of refN() et al. this time. re-r?

bors added a commit that referenced this pull request Dec 14, 2014
bors added a commit that referenced this pull request Dec 14, 2014
@bors bors closed this Dec 14, 2014
@bors bors merged commit 029789b into rust-lang:master Dec 14, 2014
@japaric japaric deleted the deprecate-tupleN branch December 16, 2014 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unfeature-gate tuple-indexing, then replace tuple indexing traits / methods accordingly
5 participants