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

convert unused doc comments to regular comments #6692

Merged
merged 1 commit into from
Feb 22, 2019

Conversation

euclio
Copy link
Contributor

@euclio euclio commented Feb 22, 2019

rust-lang/rust#57882 will cause the unused_doc_comments lint to fire when doc comments are present on macro expansions, where they aren't used. Since cargo uses #![deny(warnings)] in tests, the tests fail to build with that change.

This PR changes the unused doc comments to be regular comments so the warning isn't triggered.

It would be helpful to update cargo in the rust repo after this change, since this blocks the above PR from landing.

@rust-highfive
Copy link

r? @ehuss

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

@dwijnand
Copy link
Member

SGTM

@bors r+

@bors
Copy link
Contributor

bors commented Feb 22, 2019

📌 Commit f5723e5 has been approved by dwijnand

@bors
Copy link
Contributor

bors commented Feb 22, 2019

⌛ Testing commit f5723e5 with merge 66617c763c1fa83b677fa612fade5a50bf283b83...

@bors
Copy link
Contributor

bors commented Feb 22, 2019

💡 This pull request was already approved, no need to approve it again.

  • This pull request is currently being tested. If there's no response from the continuous integration service, you may use retry to trigger a build again.

@bors
Copy link
Contributor

bors commented Feb 22, 2019

📌 Commit f5723e5 has been approved by dwijnand

@bors
Copy link
Contributor

bors commented Feb 22, 2019

⌛ Testing commit f5723e5 with merge 5c6aa46...

bors added a commit that referenced this pull request Feb 22, 2019
convert unused doc comments to regular comments

rust-lang/rust#57882 will cause the unused_doc_comments lint to fire when doc comments are present on macro expansions, where they aren't used. Since cargo uses `#![deny(warnings)]` in tests, the tests fail to build with that change.

This PR changes the unused doc comments to be regular comments so the warning isn't triggered.

It would be helpful to update cargo in the rust repo after this change, since this blocks the above PR from landing.
@bors
Copy link
Contributor

bors commented Feb 22, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: dwijnand
Pushing 5c6aa46 to master...

@bors bors merged commit f5723e5 into rust-lang:master Feb 22, 2019
@ehuss
Copy link
Contributor

ehuss commented Feb 22, 2019

It would be helpful to update cargo in the rust repo after this change, since this blocks the above PR from landing.

I can post an update shortly.

@euclio euclio deleted the unused-comments branch February 22, 2019 21:05
bors added a commit to rust-lang/rust that referenced this pull request Feb 23, 2019
Update cargo

5 commits in b33ce7fc9092962b0657b4c25354984b5e5c47e4..5c6aa46e6f28661270979696e7b4c2f0dff8628f
2019-02-19 18:42:50 +0000 to 2019-02-22 19:32:35 +0000
- convert unused doc comments to regular comments (rust-lang/cargo#6692)
- Add more about system library on whether to keep Cargo.lock (rust-lang/cargo#6685)
- Warn when excluding non-existing packages (rust-lang/cargo#6679)
- Incremental profile cleanup. (rust-lang/cargo#6688)
- Various cosmetic improvements (rust-lang/cargo#6687)
@ehuss ehuss added this to the 1.34.0 milestone Feb 6, 2022
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