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

[beta] Disable lints in rustdoc #52796

Merged
merged 1 commit into from
Jul 28, 2018
Merged

Conversation

ollie27
Copy link
Member

@ollie27 ollie27 commented Jul 27, 2018

The lint handling in rustdoc 1.28 is still incomplete so I think it would be best to disable it for the stable release. The main thing that's missing is that cargo doesn't cap lints for dependencies. This was fixed in master by #52354 and rust-lang/cargo#5765 but they haven't been backported. Additionally rustdoc is still emitting lints that are not on its whitelist #51661 (comment).

cc. @rust-lang/rustdoc

@rust-highfive
Copy link
Collaborator

r? @steveklabnik

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

@rust-highfive
Copy link
Collaborator

⚠️ Warning ⚠️

  • Pull requests are usually filed against the master branch for this repo, but this one is against beta. Please double check that you specified the right target!

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 27, 2018
@QuietMisdreavus
Copy link
Member

r=me pending travis

The biggest offender (intra_doc_link_resolution_failure) can only be emitted on nightly, but if rustdoc is still emitting lints outside its whitelist like that links suggests, then this is the right decision.

@QuietMisdreavus
Copy link
Member

@bors r+ p=1 (beta fix)

@bors
Copy link
Contributor

bors commented Jul 28, 2018

📌 Commit 55ad2d8 has been approved by QuietMisdreavus

@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 Jul 28, 2018
@bors
Copy link
Contributor

bors commented Jul 28, 2018

⌛ Testing commit 55ad2d8 with merge 9dd3f3f...

bors added a commit that referenced this pull request Jul 28, 2018
[beta] Disable lints in rustdoc

The lint handling in rustdoc 1.28 is still incomplete so I think it would be best to disable it for the stable release. The main thing that's missing is that cargo doesn't cap lints for dependencies. This was fixed in master by #52354 and rust-lang/cargo#5765 but they haven't been backported. Additionally rustdoc is still emitting lints that are not on its whitelist #51661 (comment).

cc. @rust-lang/rustdoc
@bors
Copy link
Contributor

bors commented Jul 28, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: QuietMisdreavus
Pushing 9dd3f3f to beta...

@bors bors merged commit 55ad2d8 into rust-lang:beta Jul 28, 2018
@ollie27 ollie27 deleted the rustdoc_beta_lints branch July 29, 2018 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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