-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Conversation
r? @ehuss (rust_highfive has picked a reviewer for you, use r? to override) |
SGTM @bors r+ |
📌 Commit f5723e5 has been approved by |
⌛ Testing commit f5723e5 with merge 66617c763c1fa83b677fa612fade5a50bf283b83... |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit f5723e5 has been approved by |
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.
☀️ Test successful - checks-travis, status-appveyor |
I can post an update shortly. |
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)
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.