Skip to content

Rollup of 6 pull requests - #47485

Closed
GuillaumeGomez wants to merge 17 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup
Closed

Rollup of 6 pull requests#47485
GuillaumeGomez wants to merge 17 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup

Conversation

andjo403and others added 17 commits January 9, 2018 22:51
When we suggest the replacement for a macro we include the "!" in the
suggested replacement but the span only contains the name of the macro
itself. Using that replacement would cause a duplicate "!" in the
resulting code.
I originally tried to extend the span to be replaced by 1 byte in
rust-lang#47424. However, @zackmdavis pointed out that there can be
whitespace between the macro name and the bang.
Instead, just remove the bang from the suggested replacement.
Fixesrust-lang#47418
…ark-Simulacrum
Test rustdoc js
Add tests for the rustdoc search. It was heavily required because of all the recent breaking changes that happened while I went through improvements in doc search (add search in/for generic search for example).
…ster
fix faulty comment
after rust-lang#43506 there is no fixed number of request sent.
…teveklabnik
Report errors instead of panic!() when linkcheck encounters absolute paths
The RBE contained some absolute links that failed the link check in rust-lang#46196. Diagnosing these issues was needlessly complicated, thanks to the linkchecker just panicing instead of reporting proper errors.
This PR replaces the panic with a proper `*errors = true` + error message handling.
The linkchecker itself doesn't have any tests so I intentionally didn't touch anything else than the code that previously did the `panic!()`. A small code quality improvement might be made by binding the `Path::new(base).join(url)` into a variable before the for-loop and using this resolved url in both the for loop and the error message.
r? @steveklabnik
(If not for any other reason than having r on the rust-lang#46196.)
…=QuietMisdreavus
Switch to pulldown as default markdown renderer
r? @QuietMisdreavus
…tMisdreavus
Update html-diff crate => fix unicode parsing and invalid paths
r? @QuietMisdreavus
…suggestion, r=estebank
Don't include bang in macro replacement suggestion
When we suggest the replacement for a macro we include the "!" in the suggested replacement but the span only contains the name of the macro itself. Using that replacement would cause a duplicate "!" in the resulting code.
I originally tried to extend the span to be replaced by 1 byte in rust-lang#47424. However, @zackmdavis pointed out that there can be whitespace between the macro name and the bang.
Instead, just remove the bang from the suggested replacement.
Fixesrust-lang#47418
r? @estebank
@rust-highfive

Copy link
Copy Markdown
Contributor

Some changes occurred in HTML/CSS.

cc @GuillaumeGomez

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @nikomatsakis

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

@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors: r+ p=1

@bors

bors commented Jan 16, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit c91a3c2 has been approved by GuillaumeGomez

@kennytmkennytm added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jan 16, 2018
@bors

bors commented Jan 16, 2018

Copy link
Copy Markdown
Collaborator

⌛ Testing commit c91a3c2 with merge db1abf855127da96e6ca564038b63b5a9d62ac82...

@bors

bors commented Jan 16, 2018

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-appveyor

@GuillaumeGomez
GuillaumeGomez deleted the rollup branch January 16, 2018 14:33
@CentrilCentril added the rollup A PR which is a rollup label Oct 24, 2019
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.

9 participants

@GuillaumeGomez@rust-highfive@bors@kennytm@nikomatsakis@Centril@andjo403@Rantanen@etaoins