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

Don't ever warn about #[used] items being dead code. #41637

Merged
merged 1 commit into from
Apr 30, 2017

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Apr 29, 2017

Fixes #41628 by whitelisting #[used] items in rustc::middle::dead.

@rust-highfive
Copy link
Collaborator

r? @arielb1

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

@petrochenkov
Copy link
Contributor

I bet someone recently read the @japaric's blog post :)
@bors r+

@bors
Copy link
Contributor

bors commented Apr 29, 2017

📌 Commit c054b2a has been approved by petrochenkov

@eddyb
Copy link
Member Author

eddyb commented Apr 29, 2017

@petrochenkov Close, but, more like "@whitequark poked me on IRC".

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 30, 2017
Don't ever warn about #[used] items being dead code.

Fixes rust-lang#41628 by whitelisting `#[used]` items in `rustc::middle::dead`.
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 30, 2017
Don't ever warn about #[used] items being dead code.

Fixes rust-lang#41628 by whitelisting `#[used]` items in `rustc::middle::dead`.
bors added a commit that referenced this pull request Apr 30, 2017
Rollup of 6 pull requests

- Successful merges: #41449, #41509, #41608, #41613, #41636, #41637
- Failed merges:
@bors bors merged commit c054b2a into rust-lang:master Apr 30, 2017
@eddyb eddyb deleted the used-not-dead branch April 30, 2017 07:56
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.

5 participants