Skip to content

Rollup of 5 pull requests - #90458

Closed
matthiaskrgr wants to merge 10 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-9jxdmot
Closed

Rollup of 5 pull requests#90458
matthiaskrgr wants to merge 10 commits into
rust-lang:masterfrom
matthiaskrgr:rollup-9jxdmot

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

willcrichtonand others added 10 commits October 29, 2021 13:21
Also, remove the highlighting of the search bar in disabled state. This
reduces flicker when loading a page.
…omez
rustdoc: remove flicker during page load
The search bar has a `:disabled` style that makes it grey, which creates a distracting flicker from grey to white when the page finishes loading. The search bar should stay the same color throughout page load.
A blank white search bar might create an incorrect impression for users with JS turned off. Since they can't use the search functionality, I've hidden the search bar in noscript.css.
Fixesrust-lang#90246
r? `@GuillaumeGomez`
Demo: https://rustdoc.crud.net/jsha/flashy-searchbar/std/string/struct.String.html
…n514
Fix rare ICE during typeck in rustdoc scrape_examples
While testing the `--scrape-examples` extension on the [wasmtime](https://github.com/bytecodealliance/wasmtime) repository, I found some additional edge cases. Specifically, when asking to typecheck a body containing a function call, I would sometimes get an ICE if:
* The body doesn't exist
* The function's HIR node didn't have a type
This adds checks for both of those conditions.
(Also this updates a test to check that the sources of a reverse-dependency are correctly generated and linked.)
r? `@jyn514`
…amelid
Document `doc(keyword)` unstable attribute
r? `@camelid`
Remove `rustc_hir::hir_id::HirIdVec`
See rust-lang#90408 (comment):
> IIRC, `HirIdVec` is never used, you can delete it. PR rust-lang#72015 has been abandoned.
r? `@cjgillot`
Remove unnecessary `Option` from `promote_candidate` return type
@rustbotrustbot added the rollup A PR which is a rollup label Oct 31, 2021
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Oct 31, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 68cab5c has been approved by matthiaskrgr

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 31, 2021
@bors

bors commented Oct 31, 2021

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 68cab5c with merge 0b40339c2612928974c5ccf411a67476e49853fc...

@emilyalbini

Copy link
Copy Markdown
Member

@bors retry yield to #90460

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

A job failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)

@matthiaskrgr
matthiaskrgr deleted the rollup-9jxdmot branch November 20, 2021 15:03
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollupS-waiting-on-borsStatus: 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.

10 participants

@matthiaskrgr@bors@emilyalbini@rust-log-analyzer@rustbot@willcrichton@tmiasko@GuillaumeGomez@pierwill@jsha