Skip to content

Rollup of 5 pull requests - #85518

Merged
bors merged 11 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-mq4ohfy
May 20, 2021
Merged

Rollup of 5 pull requests#85518
bors merged 11 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-mq4ohfy

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

CDirkxand others added 11 commits May 14, 2021 03:54
Move `std::memchr` to `sys_common`
`std::memchr` is a thin abstraction over the different `memchr` implementations in `sys`, along with documentation and tests. The module is only used internally by `std`, nothing is exported externally. Code like this is exactly what the `sys_common` module is for, so this PR moves it there.
…r=Mark-Simulacrum
bootstrap: ensure host std when cross-compiling tools, fixesrust-lang#85320
Fix missing lifetimes diagnostics after rust-lang#83759
In rust-lang#83759 while rebasing I didn't realize there was a new function for suggesting to add lifetime arguments. It relied on some invariants, namely that if a generic type/trait has angle brackets then it must have some generic argument, which is now no longer true. This PR updates that function to handle the new invariants.
This also adds a new regression test but I'm not sure if that's the correct place for it.
Fixesrust-lang#85347
…eck, r=jsha
Extend escape key check
Since rust-lang#84462 has been merged, we can now extend the `escape-key` test.
r? `@jsha`
…=jsha
Prevent tab title to "null" if the URL is a search one
When we arrive on page with a search parameter in the URL, until the results are displayed, the page title is "null". It's because of this code:
```js
if (params.search !== undefined) {
var search = searchState.outputElement();
search.innerHTML = "<h3 style=\"text-align: center;\">" +
searchState.loadingText + "</h3>";
searchState.showResults(search);
loadSearch();
}
```
In `searchState.showResults`, we have this:
```js
document.title = searchState.title;
```
But since it's `null`, we set it as title. This PR fixes it.
r? `@jsha`
@rustbotrustbot added the rollup A PR which is a rollup label May 20, 2021
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors: r+ p=5 rollup=never

@bors

bors commented May 20, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 247e2e2 has been approved by GuillaumeGomez

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

bors commented May 20, 2021

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 247e2e2 with merge 99e3aef...

@bors

bors commented May 20, 2021

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: GuillaumeGomez
Pushing 99e3aef to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label May 20, 2021
@bors
bors merged commit 99e3aef into rust-lang:masterMay 20, 2021
@rustbotrustbot added this to the 1.54.0 milestone May 20, 2021
@GuillaumeGomez
GuillaumeGomez deleted the rollup-mq4ohfy branch May 20, 2021 21:15
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.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.

std not found when trying to cross-compile tools

6 participants

@GuillaumeGomez@bors@rustbot@CDirkx@infinity0@SkiFire13