-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustdoc: private_doc_tests lint no longer fires on stable #75951
Comments
This was definitely unintentional. I thought I added a test for this ... |
Hmm, it tests with |
The issue is this line. Compiletest runs with RUSTC_BOOTSTRAP set. I don't recall off the top of my head how to force a test to be stable. |
Wait now I'm confused. I thought the point of this lint was that it only runs on nightly, because we're not sure if we want to stabilize it. cc @rust-lang/rustdoc |
@ehuss are you sure this used to work? |
The |
Got it, I mixed it up with |
…ichton Fix cache_messages::rustdoc test broken on beta. The most recent beta `rustc 1.47.0-beta.1` broke this test (rust-lang/rust#75951). Just switch to a different lint to get the test working again.
Actually it looks like I introduced the opposite bug for |
Assigning |
… r=alexcrichton Fix cache_messages::rustdoc test broken on beta. The most recent beta `rustc 1.47.0-beta.1` broke this test (rust-lang/rust#75951). Just switch to a different lint to get the test working again.
As of
rustc 1.47.0-beta.1
, theprivate_doc_tests
lint is no longer working.I expected to see this happen:
cargo doc
should issuewarning: documentation test in private item
Instead, this happened: No warnings emitted.
This appears to have changed in #74855. I don't see any discussion there about this, so I'm guessing it was unintentional.
cc @jyn514.
The text was updated successfully, but these errors were encountered: