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 15 pull requests #78767

Merged
merged 44 commits into from
Nov 5, 2020
Merged

Rollup of 15 pull requests #78767

merged 44 commits into from
Nov 5, 2020

Conversation

m-ou-se
Copy link
Member

@m-ou-se m-ou-se commented Nov 5, 2020

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

poliorcetics and others added 30 commits October 17, 2020 18:42
There is no `as_str` function on Ident any more.

Also change it to an intra doc link while we're at it.
This is mostly motivated by docs.rs. It's really weird
when arrow keys work in the top dropdown menu, but don't work
in other dropdown menus on the same page.
Most of the code in mod.rs should be code that really needs to have
the list of available themes inlined into it.
The comment has become outdated as the array_impl macro
has been removed.
filter_next
manual_strip
redundant_static_lifetimes
single_char_pattern
unnecessary_cast
unused_unit
op_ref
redundant_closure
useless_conversion
`crate::` -> `core::`

It looks weird to have `crate::` in the link text and we use the actual
crate name everywhere else.

If anyone is curious, I used this Vim command to update all the links:

    %s/\(\s\)\[`crate::\(.*\)`\]/\1[`core::\2`](crate::\2)/g
'Note however,' -> 'Note, however,'
paramter -> parameter
…=jyn514

Move Vec UI tests to unit tests when possible

Helps with rust-lang#76268.

I'm moving the tests using `Vec` or `VecDeque`.

````@rustbot```` modify labels: A-testsuite C-cleanup T-libs
Move f64::NAN ui tests into `library`

This is a partial fix of rust-lang#76268.

r? ```@matklad```
Change as_str → to_string in proc_macro::Ident::span() docs

There is no `as_str` function on Ident any more.

Also change it to an intra doc link while we're at it.
Add keyboard handling to the theme picker menu

This PR is mostly designed to bring the theme picker closer to feature parity with the menu bar from docs.rs. Though the rustdoc theme picker is technically already usable from the keyboard, it's really weird that arrow keys work on some of the menus, but not all of them, in the exact same page.
Array trait impl comment/doc fixes

Two small doc/comment fixes regarding trait implementations on arrays.
…eGomez

(rustdoc) fix test for trait impl display

The test checks that parameters and return values with `impl Trait` types are correctly generated in rustdoc's output.

In essence, the previous version of the test checked the absence of values that would never be generated by rustdoc, so it could basically never fail. These values were adjusted to the expected output and are now required to exist in rustdoc's output. See rust-lang#55201 (comment) for a detailed explanation of the reasoning behind the changes.

Note that the output of rustdoc for `impl Trait`s in parameters and return values did not change since the inital test creation, so this PR only modifies the test.

Closes rust-lang#55201
fix a couple of clippy warnings:

filter_next
manual_strip
redundant_static_lifetimes
single_char_pattern
unnecessary_cast
unused_unit
op_ref
redundant_closure
useless_conversion
…cell-getmut, r=RalfJung

Simplify the implementation of `get_mut` (no unsafe)

Quick PR to reduce one use of `unsafe` pointed out in the previous PR

r? ````@RalfJung````
…brary-core, r=jyn514

Move range in ui test to ops test in library/core

Helps with rust-lang#76268

r? ````@matklad````
…sakis

Fix ICE on type error in async function

Fixes rust-lang#78654
make intern_const_alloc_recursive return error

fix rust-lang#78655

r? ``@oli-obk``
Update cargo

7 commits in becb4c282b8f37469efb8f5beda45a5501f9d367..d5556aeb8405b1fe696adb6e297ad7a1f2989b62
2020-10-28 16:41:55 +0000 to 2020-11-04 22:20:36 +0000
- Implement weak dependency features. (rust-lang/cargo#8818)
- Avoid some extra downloads with new feature resolver. (rust-lang/cargo#8823)
- fix: remove install command `$`, for copying friendly (rust-lang/cargo#8828)
- Bump `anyhow` dependency to `1.0.34` in `crates-io` crate (rust-lang/cargo#8826)
- Normalize SourceID in `cargo metadata`. (rust-lang/cargo#8824)
- vendor: correct the path to cargo config (rust-lang/cargo#8822)
- Make host_root return host.root(), not host.dest() (rust-lang/cargo#8819)
Improve and clean up some intra-doc links
Fixed typo in comment

paramter -> parameter
@rustbot rustbot added the rollup A PR which is a rollup label Nov 5, 2020
@m-ou-se
Copy link
Member Author

m-ou-se commented Nov 5, 2020

@bors r+ p=15 rollup=never

@bors
Copy link
Contributor

bors commented Nov 5, 2020

📌 Commit 8416e13 has been approved by m-ou-se

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 5, 2020
@bors
Copy link
Contributor

bors commented Nov 5, 2020

⌛ Testing commit 8416e13 with merge f7801d6...

@bors
Copy link
Contributor

bors commented Nov 5, 2020

☀️ Test successful - checks-actions
Approved by: m-ou-se
Pushing f7801d6 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 5, 2020
@bors bors merged commit f7801d6 into rust-lang:master Nov 5, 2020
@rustbot rustbot added this to the 1.49.0 milestone Nov 5, 2020
@m-ou-se m-ou-se deleted the rollup-eu5wgxl branch November 5, 2020 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: 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.