Skip to content

Feature gate rustc attributes harder - #62133

Merged
bors merged 2 commits into
rust-lang:masterfrom
petrochenkov:norustc
Jul 5, 2019
Merged

Feature gate rustc attributes harder#62133
bors merged 2 commits into
rust-lang:masterfrom
petrochenkov:norustc

Conversation

@petrochenkov

@petrochenkovpetrochenkov commented Jun 25, 2019

Copy link
Copy Markdown
Contributor

Fixes#62116

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @cramertj

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 25, 2019
@petrochenkov

Copy link
Copy Markdown
ContributorAuthor

@craterbot run mode=check-only

@craterbot

Copy link
Copy Markdown
Collaborator

🚨 Error: missing start toolchain

🆘 If you have any trouble with Crater please ping @rust-lang/infra!
ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@petrochenkov

Copy link
Copy Markdown
ContributorAuthor

Damn.
@bors try

@bors

bors commented Jun 25, 2019

Copy link
Copy Markdown
Collaborator

⌛ Trying commit 7fbb936 with merge 8ec8125...

bors added a commit that referenced this pull request Jun 25, 2019
Feature gate `rustc` attributes harder
cc #62116
@petrochenkovpetrochenkov added S-waiting-on-crater Status: Waiting on a crater run to be completed. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 25, 2019
@bors

bors commented Jun 26, 2019

Copy link
Copy Markdown
Collaborator

☀️ Try build successful - checks-travis
Build commit: 8ec8125

@petrochenkov

Copy link
Copy Markdown
ContributorAuthor

@craterbot run mode=check-only

@craterbot

Copy link
Copy Markdown
Collaborator

👌 Experiment pr-62133 created and queued.
🤖 Automatically detected try build 8ec8125
🔍 You can check out the queue and this experiment's details.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot

Copy link
Copy Markdown
Collaborator

🚧 Experiment pr-62133 is now running on agent aws-1.

ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbot

Copy link
Copy Markdown
Collaborator

🎉 Experiment pr-62133 is completed!
📊 1 regressed and 0 fixed (66894 total)
📰 Open the full report.

⚠️ If you notice any spurious failure please add them to the blacklist!
ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more

@craterbotcraterbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-crater Status: Waiting on a crater run to be completed. labels Jun 29, 2019
@petrochenkov

Copy link
Copy Markdown
ContributorAuthor

The single regression is #[rustc::attr(...)] in tests in remain, and #[rustc::foo] attributes are certainly something we want to reserve.

Ok, I think I'll apply a0d792c to this PR (requires rustc to register its own attributes instead of using feature(custom_attribute)-style fallback from unresolved), and it's good to go.

@petrochenkovpetrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 29, 2019
@petrochenkovpetrochenkov added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 30, 2019
@petrochenkov

Copy link
Copy Markdown
ContributorAuthor

Updated.

@petrochenkov

Copy link
Copy Markdown
ContributorAuthor

r? @eddyb

@rust-highfiverust-highfive assigned eddyb and unassigned cramertjJul 1, 2019
Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 2, 2019
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jul 3, 2019
Centril added a commit to Centril/rust that referenced this pull request Jul 4, 2019
@CentrilCentril mentioned this pull request Jul 4, 2019
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jul 4, 2019
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jul 4, 2019
Centril added a commit to Centril/rust that referenced this pull request Jul 5, 2019
@CentrilCentril mentioned this pull request Jul 5, 2019
Centril added a commit to Centril/rust that referenced this pull request Jul 5, 2019
@CentrilCentril mentioned this pull request Jul 5, 2019
Centril added a commit to Centril/rust that referenced this pull request Jul 5, 2019
@CentrilCentril mentioned this pull request Jul 5, 2019
bors added a commit that referenced this pull request Jul 5, 2019
Rollup of 13 pull requests
Successful merges:
- #61545 (Implement another internal lints)
- #62110 (Improve -Ztime-passes)
- #62133 (Feature gate `rustc` attributes harder)
- #62158 (Add MemoryExtra in InterpretCx constructor params)
- #62168 (The (almost) culmination of HirIdification)
- #62193 (Create async version of the dynamic-drop test)
- #62369 (Remove `compile-pass` from compiletest)
- #62380 (rustc_target: avoid negative register counts in the SysV x86_64 ABI.)
- #62381 (Fix a typo in Write::write_vectored docs)
- #62390 (Update README.md)
- #62396 (remove Scalar::is_null_ptr)
- #62406 (Lint on invalid values passed to x.py --warnings)
- #62414 (Remove last use of mem::uninitialized in SGX)
Failed merges:
r? @ghost
@bors
bors merged commit e4e7eb2 into rust-lang:masterJul 5, 2019
@petrochenkov
petrochenkov deleted the norustc branch July 8, 2019 13:33
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.

Attributes starting with rustc_ are supposed to be gated, but they are not always gated

6 participants

@petrochenkov@rust-highfive@craterbot@bors@eddyb@cramertj