Skip to content

bootstrap: work around "unused attribute" errors in incremental stdlib rebuilds. #70881

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 11, 2020

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Apr 7, 2020

This should alleviate #58633 separately from a proper fix.

r? @Mark-Simulacrum

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 7, 2020
@Mark-Simulacrum
Copy link
Member

@bors r+

I believe this should work, so let's land it in the meantime, even if it is a bit unfortunate.

@bors
Copy link
Collaborator

bors commented Apr 7, 2020

📌 Commit b88cb3d has been approved by Mark-Simulacrum

@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 Apr 7, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 11, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#69573 (tests encoding current behavior for various cases of "binding" to _.)
 - rust-lang#70881 (bootstrap: work around "unused attribute" errors in incremental stdlib rebuilds.)
 - rust-lang#70957 (Normalize MIR locals' types for generator layout computation.)
 - rust-lang#70962 (added machine hooks to track deallocations)
 - rust-lang#70982 (Normalize function signature in function casting check procedure)

Failed merges:

r? @ghost
@bors bors merged commit 4dfa73a into rust-lang:master Apr 11, 2020
@eddyb eddyb deleted the stage0-hide-incremental-unused-attrs branch April 11, 2020 15:54
@RalfJung
Copy link
Member

RalfJung commented May 1, 2020

This does not seem to have helped, I am still getting tons of "unused attribute" warnings.

@RalfJung
Copy link
Member

RalfJung commented May 1, 2020

Oh, you only did it with deny_warnings enabled... I'd rather we do that always, the warnings are spamming the useful compiler output...

RalfJung added a commit to RalfJung/rust that referenced this pull request May 2, 2020
…=Mark-Simulacrum

bootstrap: also apply unused-attributes hack without deny_warnings

This is a follow-up to rust-lang#70881 that also silences these warnings when deny_warnings is off. They otherwise spam my screen during development and make it hard to see actual warnings.

Cc  @eddyb r? @Mark-Simulacrum
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: 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.

5 participants