Skip to content

Pre-expansion gate most of the things - #65742

Merged
bors merged 13 commits into
rust-lang:masterfrom
Centril:gate-pre-expansion-subset
Oct 25, 2019
Merged

Pre-expansion gate most of the things#65742
bors merged 13 commits into
rust-lang:masterfrom
Centril:gate-pre-expansion-subset

Conversation

@Centril

Copy link
Copy Markdown
Contributor

This is a subset of #64672. A crater run has already been done and this PR implements conclusions according to #64672 (comment).

r? @davidtwco
cc @petrochenkov

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 23, 2019
@petrochenkovpetrochenkov self-assigned this Oct 24, 2019

@davidtwcodavidtwco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r=davidtwco

@bors

bors commented Oct 24, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 15a6c09 has been approved by davidtwco

@bors

bors commented Oct 24, 2019

Copy link
Copy Markdown
Collaborator

🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened

@borsbors 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 Oct 24, 2019
@petrochenkovpetrochenkov removed their assignment Oct 24, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 25, 2019
…r=davidtwco
Pre-expansion gate most of the things
This is a subset of rust-lang#64672. A crater run has already been done and this PR implements conclusions according to rust-lang#64672 (comment).
r? @davidtwco
cc @petrochenkov
@CentrilCentril mentioned this pull request Oct 25, 2019
bors added a commit that referenced this pull request Oct 25, 2019
Rollup of 9 pull requests
Successful merges:
- #62959 (Add by-value iterator for arrays )
- #65390 (Add long error explanation for E0576)
- #65408 (reorder config.toml.example options and add one missing option)
- #65414 (ignore uninhabited non-exhaustive variant fields)
- #65666 (Deprecated proc_macro doesn't trigger warning on build library)
- #65742 (Pre-expansion gate most of the things)
- #65747 (Adjust the tracking issue for `untagged_unions`.)
- #65763 (Changed APIT with explicit generic args span to specific arg spans)
- #65775 (Fix more `ReEmpty` ICEs)
Failed merges:
- #65519 (trait-based structural match implementation)
r? @ghost
@bors
bors merged commit 15a6c09 into rust-lang:masterOct 25, 2019
@Centril
Centril deleted the gate-pre-expansion-subset branch October 25, 2019 08:01
@RalfJung

Copy link
Copy Markdown
Member

This PR introduced an (IMO serious) breaking change (see #65860 for more): This no longer compiles:

#![cfg_attr(nightly, feature(decl_macro))]#[cfg(nightly)]pub macro Default($item:item){}

Usually we are able to use conditional compilation to control use of nightly features, that seems broken now.

eddyb added a commit to eddyb/rust that referenced this pull request Oct 31, 2019
bors added a commit that referenced this pull request Nov 2, 2019
Partially revert the early feature-gatings added in #65742.
The intent here is to address #65860 ASAP (in time for beta, ideally), while leaving as much of #65742 around as possible, to make it easier to re-enable later.
Therefore, I've only kept the parts of the revert that re-add the old (i.e. non-early) feature-gating checks that were removed in #65742, and the test reverts.
I've disabled the new early feature-gating checks from #65742 entirely for now, but it would be easy to put them behind a `-Z` flag, or turn them into warnings, which would allow us to keep tests for both the early and late versions of the checks - assuming that's desirable.
cc @nikomatsakis@Mark-Simulacrum@Centril
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@Centril@petrochenkov@bors@RalfJung@davidtwco@rust-highfive