Skip to content
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 6 pull requests #47492

Closed
wants to merge 18 commits into from
Closed

Conversation

andjo403 and others added 18 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.

Fixes rust-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.

Fixes rust-lang#47418

r? @estebank
@rust-highfive
Copy link
Collaborator

Some changes occurred in HTML/CSS.

cc @GuillaumeGomez

@rust-highfive
Copy link
Collaborator

r? @aturon

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

@GuillaumeGomez
Copy link
Member Author

@bors: r+ p=1

@bors
Copy link
Contributor

bors commented Jan 16, 2018

📌 Commit 83b8946 has been approved by GuillaumeGomez

@bors
Copy link
Contributor

bors commented Jan 16, 2018

⌛ Testing commit 83b8946 with merge 047132d...

bors added a commit that referenced this pull request Jan 16, 2018
Rollup of 6 pull requests

- Successful merges: #47250, #47302, #47387, #47398, #47436, #47444
- Failed merges:
@bors
Copy link
Contributor

bors commented Jan 16, 2018

💔 Test failed - status-appveyor

@kennytm
Copy link
Member

kennytm commented Jan 16, 2018

@bors retry #46903

@bors
Copy link
Contributor

bors commented Jan 17, 2018

⌛ Testing commit 83b8946 with merge 2d3558e...

bors added a commit that referenced this pull request Jan 17, 2018
Rollup of 6 pull requests

- Successful merges: #47250, #47302, #47387, #47398, #47436, #47444
- Failed merges:
@GuillaumeGomez
Copy link
Member Author

It's been more than 8 hours now. I suppose there's a problem...

@kennytm
Copy link
Member

kennytm commented Jan 17, 2018

@GuillaumeGomez https://www.traviscistatus.com/incidents/c1s4dlyxd4lf

Nothing will start even if we retry.

@bors
Copy link
Contributor

bors commented Jan 17, 2018

💔 Test failed - status-travis

@GuillaumeGomez
Copy link
Member Author

Well, let's just wait then...

@kennytm
Copy link
Member

kennytm commented Jan 17, 2018

🤔 In #47035 the half of the jobs are running. Travis's incident report is still active, so not sure if that's normal.

Anyway we should just close this and create a new rollup. There are 40 approved PRs out there waiting -_-

@kennytm kennytm closed this Jan 17, 2018
@GuillaumeGomez GuillaumeGomez deleted the rollup branch January 17, 2018 18:56
@Centril Centril added the rollup A PR which is a rollup label Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants