-
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 8 pull requests #88874
Rollup of 8 pull requests #88874
Commits on Sep 5, 2021
-
Don't build the library and standard library before documenting them
Rustdoc doesn't require the build artifacts to generate the docs, and especially in the case of rustc, it greatly increases the time needed to run the build.
Configuration menu - View commit details
-
Copy full SHA for 04db063 - Browse repository at this point
Copy the full SHA 04db063View commit details
Commits on Sep 6, 2021
-
Do not unshallow -- already done by other code
backport-of: none
Configuration menu - View commit details
-
Copy full SHA for 76e09eb - Browse repository at this point
Copy the full SHA 76e09ebView commit details
Commits on Sep 8, 2021
-
This expands the API to be more flexible, allowing for more visitation patterns on graphs. This will be useful to avoid extra datasets (and allocations) in cases where the expanded DFS API is sufficient. This also fixes a bug with the previous DFS constructor, which left the start node not marked as visited (even though it was immediately returned).
Configuration menu - View commit details
-
Copy full SHA for c9d46eb - Browse repository at this point
Copy the full SHA c9d46ebView commit details
Commits on Sep 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 2987f4b - Browse repository at this point
Copy the full SHA 2987f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b29138 - Browse repository at this point
Copy the full SHA 9b29138View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4483c2b - Browse repository at this point
Copy the full SHA 4483c2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47b16f4 - Browse repository at this point
Copy the full SHA 47b16f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c170dcf - Browse repository at this point
Copy the full SHA c170dcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08e8644 - Browse repository at this point
Copy the full SHA 08e8644View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc63e9a - Browse repository at this point
Copy the full SHA fc63e9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cbcb09 - Browse repository at this point
Copy the full SHA 4cbcb09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f57f8b - Browse repository at this point
Copy the full SHA 1f57f8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15101c8 - Browse repository at this point
Copy the full SHA 15101c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 406d2ab - Browse repository at this point
Copy the full SHA 406d2abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79be080 - Browse repository at this point
Copy the full SHA 79be080View commit details -
Configuration menu - View commit details
-
Copy full SHA for 955e2b2 - Browse repository at this point
Copy the full SHA 955e2b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c7954d - Browse repository at this point
Copy the full SHA 8c7954dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3212734 - Browse repository at this point
Copy the full SHA 3212734View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd2915e - Browse repository at this point
Copy the full SHA cd2915eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd9bb30 - Browse repository at this point
Copy the full SHA fd9bb30View commit details -
Configuration menu - View commit details
-
Copy full SHA for c86c634 - Browse repository at this point
Copy the full SHA c86c634View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8295e4a - Browse repository at this point
Copy the full SHA 8295e4aView commit details
Commits on Sep 10, 2021
-
Remove unnecessary
Cache.*_did
fieldsThey can be obtained by accessing the `TyCtxt` where they are needed.
Configuration menu - View commit details
-
Copy full SHA for 44e6f2e - Browse repository at this point
Copy the full SHA 44e6f2eView commit details -
rustc: Remove local variable IDs from
Export
sLocal variables can never be exported.
Configuration menu - View commit details
-
Copy full SHA for 294510e - Browse repository at this point
Copy the full SHA 294510eView commit details
Commits on Sep 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 03f9fe2 - Browse repository at this point
Copy the full SHA 03f9fe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for df281ee - Browse repository at this point
Copy the full SHA df281eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bb1c28 - Browse repository at this point
Copy the full SHA 0bb1c28View commit details -
Create a valid
Res
inexternal_path()
The order of the `where` bounds on auto trait impls changed because rustdoc currently sorts auto trait `where` bounds based on the `Debug` output for the bound. Now that the bounds have an actual `Res`, they are being unintentionally sorted by their `DefId` rather than their path. So, I had to update a test for the change in ordering of the rendered bounds.
Configuration menu - View commit details
-
Copy full SHA for 6a84d34 - Browse repository at this point
Copy the full SHA 6a84d34View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2207f5 - Browse repository at this point
Copy the full SHA c2207f5View commit details -
Fix redundant arguments in
external_path()
If the path is for a trait, it is always true that `trait_did == Some(did)`, so instead, `external_path()` now takes an `is_trait` boolean.
Configuration menu - View commit details
-
Copy full SHA for 5321b35 - Browse repository at this point
Copy the full SHA 5321b35View commit details -
Remove unnecessary
is_trait
argumentIt was only used for sugaring `Fn` trait bounds, and rustdoc already checks that the `did` is for a `Fn` (or `FnMut`, `FnOnce`) lang item, so it's not necessary to also check that the `did` belongs to a trait.
Configuration menu - View commit details
-
Copy full SHA for 913764d - Browse repository at this point
Copy the full SHA 913764dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 280fc2d - Browse repository at this point
Copy the full SHA 280fc2dView commit details
Commits on Sep 12, 2021
-
Rollup merge of rust-lang#88675 - jyn514:faster-doc, r=Mark-Simulacrum
Don't build the compiler and standard library before documenting them Rustdoc doesn't require the build artifacts to generate the docs, and especially in the case of rustc, it greatly increases the time needed to run the build. r? ```@Mark-Simulacrum``` cc ```@steffahn```
Configuration menu - View commit details
-
Copy full SHA for f00af15 - Browse repository at this point
Copy the full SHA f00af15View commit details -
Rollup merge of rust-lang#88677 - petrochenkov:exportid, r=davidtwco
rustc: Remove local variable IDs from `Export`s Local variables can never be exported.
Configuration menu - View commit details
-
Copy full SHA for 68bb06a - Browse repository at this point
Copy the full SHA 68bb06aView commit details -
Rollup merge of rust-lang#88699 - Mark-Simulacrum:fixes-cherry-picker…
…, r=pietroalbini Remove extra unshallow from cherry-pick checker This is already done by https://github.com/rust-lang/rust/blob/13db8440bbbe42870bc828d4ec3e965b38670277/src/ci/init_repo.sh#L32-L36 on the beta channel, and git throws an error if you attempt to unshallow an already non-shallow repository. r? `@pietroalbini`
Configuration menu - View commit details
-
Copy full SHA for ae14fc4 - Browse repository at this point
Copy the full SHA ae14fc4View commit details -
Rollup merge of rust-lang#88709 - BoxyUwU:thir-abstract-const, r=lcnr
generic_const_exprs: use thir for abstract consts instead of mir Changes `AbstractConst` building to use `thir` instead of `mir` so that there's less chance of consts unifying when they shouldn't because lowering to mir dropped information (see `abstract-consts-as-cast-5.rs` test) r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for 4972d14 - Browse repository at this point
Copy the full SHA 4972d14View commit details -
Rollup merge of rust-lang#88711 - Mark-Simulacrum:fix-dfs-bug, r=jack…
…h726 Rework DepthFirstSearch API This expands the API to be more flexible, allowing for more visitation patterns on graphs. This will be useful to avoid extra datasets (and allocations) in cases where the expanded DFS API is sufficient. This also fixes a bug with the previous DFS constructor, which left the start node not marked as visited (even though it was immediately returned). Commit written by `@nikomatsakis` originally, cherry picked from several commits in work on never type stabilization, but stands alone.
Configuration menu - View commit details
-
Copy full SHA for 543b8c0 - Browse repository at this point
Copy the full SHA 543b8c0View commit details -
Rollup merge of rust-lang#88745 - hnj2:allow-trait-impl-missing-code,…
… r=GuillaumeGomez Allow missing code examples in trait impls. Excludes Trait implementations from the items that need to have doc code examples when using the `rustdoc::missing_doc_code_examples` lint. For details see rust-lang#88741 fixes rust-lang#88741 r? ``@jyn514``
Configuration menu - View commit details
-
Copy full SHA for c134e96 - Browse repository at this point
Copy the full SHA c134e96View commit details -
Rollup merge of rust-lang#88810 - camelid:cleanup-pt1, r=jyn514
rustdoc: Cleanup `clean` part 1 Split out from rust-lang#88379. These commits are completely independent of each other, and each is a fairly small change (the last few are new commits; they are not from rust-lang#88379): - Remove unnecessary `Cache.*_did` fields - rustdoc: Get symbol for `TyParam` directly - Create a valid `Res` in `external_path()` - Remove unused `hir_id` parameter from `resolve_type` - Fix redundant arguments in `external_path()` - Remove unnecessary `is_trait` argument - rustdoc: Cleanup a pattern match in `external_generic_args()` r? `@jyn514`
Configuration menu - View commit details
-
Copy full SHA for 49a7f5f - Browse repository at this point
Copy the full SHA 49a7f5fView commit details -
Rollup merge of rust-lang#88813 - lcnr:ena-docs, r=jyn514
explicitly link to external `ena` docs we currently do not link to the docs of `ena`: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/struct.InferCtxtInner.html#method.const_unification_table
Configuration menu - View commit details
-
Copy full SHA for d6b179b - Browse repository at this point
Copy the full SHA d6b179bView commit details