-
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
Rollup of 7 pull requests #92609
Rollup of 7 pull requests #92609
Conversation
This involves changing the lint to check the access level is exported, rather than public. The exported access level accounts for public items and items accessible to other crates with the help of `pub use` re-exports. The pattern of re-exporting public items from a private module is usage seen in a number of popular crates.
- Ensure standard public items are accepted - Ensure public items not re-exported from private modules are denied
This slightly reduces the noisiness of doc pages, making them easier to read.
Make Run button visible on hover This slightly reduces the noisiness of doc pages, making them easier to read. Demo: https://rustdoc.crud.net/jsha/run-on-hover/std/string/struct.String.html [Discussed on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/.22Run.22.20button.20visible.20on.20hover). Part of rust-lang#59845
Fix a pair of mistyped test cases in `std::net::ip` These two test cases are not consistent with their comments, which I believe is unintended.
…s, r=GuillaumeGomez Fix rustdoc::private_doc_tests lint for public re-exported items Closes rust-lang#72081 This involves changing the lint to check the access level is exported, rather than public. The [exported access level](https://github.com/rust-lang/rust/blob/e91ad5fc62bdee4a29c18baa5fad2ca42fc91bf4/compiler/rustc_middle/src/middle/privacy.rs#L24) accounts for public items and items accessible to other crates with the help of `pub use` re-exports. The pattern of re-exporting public items from a private module is usage seen in a number of popular crates.
…dtwco Some cleanups around check_argument_types Split out in ways from my rebase/continuation of rust-lang#71827 Commits are mostly self-explanatory and these changes should be fairly straightforward
…crum Regression test for borrowck ICE rust-lang#92015 This issue has come up a few times. Creating a regression test. Closes rust-lang#92015.
Fix font size for [src] links in headers Fixes rust-lang#90384. cc `@jsha` r? `@camelid`
…imitive-types, r=Manishearth Rustdoc: resolve associated traits for non-generic primitive types Fixes rust-lang#90703 This seems to work: <img width="457" alt="image" src="https://user-images.githubusercontent.com/2807772/147774059-9556ff96-4519-409e-8ed0-c33ecc436171.png"> I'm just afraid I might have missed some cases / broken previous functionality. I also have not written tests yet, I will have to take a look to see where tests are and how they are structured, but any help there is also appreciated.
@bors r+ rollup=never p=7 |
📌 Commit 26a90e4 has been approved by |
⌛ Testing commit 26a90e4 with merge 84121ce7f685b6ca2677282716d0224c7a24b4c9... |
💔 Test failed - checks-actions |
@bors retry curl: (6) Could not resolve host: ci-mirrors.rust-lang.org |
☀️ Test successful - checks-actions |
Finished benchmarking commit (cfa4ac6): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Successful merges:
std::net::ip
#92288 (Fix a pair of mistyped test cases instd::net::ip
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup