rustc: Allow an edition's feature on that edition by alexcrichton · Pull Request #50663 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation6 Commits1 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

alexcrichton

This commit fixes a hard error where the #![feature(rust_2018_preview)]
feature was forbidden to be mentioned when the --edition 2018 flag was passed.
This instead silently accepts that feature gate despite it not being necessary.
It's intended that this will help ease the transition into the 2018 edition as
users will, for the time being, start off with the rust_2018_preview feature
and no longer immediately need to remove it.

Closes #50662

@alexcrichton

This commit fixes a hard error where the #![feature(rust_2018_preview)] feature was forbidden to be mentioned when the --edition 2018 flag was passed. This instead silently accepts that feature gate despite it not being necessary. It's intended that this will help ease the transition into the 2018 edition as users will, for the time being, start off with the rust_2018_preview feature and no longer immediately need to remove it.

Closes rust-lang#50662

@rust-highfive

r? @petrochenkov

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton

@bors: p=1

(affects upcoming edition preview)

@Manishearth

@bors

📌 Commit 0588bca has been approved by Manishearth

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

May 11, 2018

alexcrichton added a commit to alexcrichton/rust that referenced this pull request

May 11, 2018

@alexcrichton

…nishearth

rustc: Allow an edition's feature on that edition

This commit fixes a hard error where the #![feature(rust_2018_preview)] feature was forbidden to be mentioned when the --edition 2018 flag was passed. This instead silently accepts that feature gate despite it not being necessary. It's intended that this will help ease the transition into the 2018 edition as users will, for the time being, start off with the rust_2018_preview feature and no longer immediately need to remove it.

Closes rust-lang#50662

@alexcrichton

@bors: p=0

Moving back to a normal priority

@Mark-Simulacrum

bors added a commit that referenced this pull request

May 12, 2018

@bors

Rollup of 13 pull requests

Successful merges:

Failed merges:

kennytm added a commit to kennytm/rust that referenced this pull request

May 13, 2018

@kennytm

…nishearth

rustc: Allow an edition's feature on that edition

This commit fixes a hard error where the #![feature(rust_2018_preview)] feature was forbidden to be mentioned when the --edition 2018 flag was passed. This instead silently accepts that feature gate despite it not being necessary. It's intended that this will help ease the transition into the 2018 edition as users will, for the time being, start off with the rust_2018_preview feature and no longer immediately need to remove it.

Closes rust-lang#50662

bors added a commit that referenced this pull request

May 13, 2018

@bors

Rollup of 8 pull requests

Successful merges:

Failed merges: