Skip to content

Rollup of 7 pull requests #80180

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 17 commits into from
Dec 19, 2020
Merged

Rollup of 7 pull requests #80180

merged 17 commits into from
Dec 19, 2020

Conversation

JohnTitor
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

ChaiTRex and others added 17 commits October 18, 2020 15:45
Add missing punctuation.
rustc_lint and rustc_lint_defs weren't switched because they're included
in the compiler book and so can't use intra-doc links.
Stabilize or_insert_with_key

Stabilizes the `or_insert_with_key` feature from rust-lang#71024. This allows inserting key-derived values when a `HashMap`/`BTreeMap` entry is vacant.

The difference between this and  `.or_insert_with(|| ... )` is that this provides a reference to the key to the closure after it is moved with `.entry(key_being_moved)`, avoiding the need to copy or clone the key.
…k-Simulacrum

Add the "async" and "promise" doc aliases to `core::future::Future`

Adds the "async" and "promise" doc aliases to `core::future::Future`. This enables people who search for "async" or "promise" to find `Future`, which is Rust's core primitive for async programming. Thanks!
Switch some links in compiler/ to intra-doc links
Add `&mut` as an alias for 'reference' primitive

Closes rust-lang#46075.
docs: Edit rustc_ast::token::Token

Add missing punctuation.
…tebank

Suppress `CONST_ITEM_MUTATION` lint if a dereference occurs anywhere

Fixes rust-lang#79971
@rustbot rustbot added the rollup A PR which is a rollup label Dec 19, 2020
@JohnTitor
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Dec 19, 2020

📌 Commit b27c783 has been approved by JohnTitor

@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 Dec 19, 2020
@bors
Copy link
Collaborator

bors commented Dec 19, 2020

⌛ Testing commit b27c783 with merge e461b81...

@bors
Copy link
Collaborator

bors commented Dec 19, 2020

☀️ Test successful - checks-actions
Approved by: JohnTitor
Pushing e461b81 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 19, 2020
@bors bors merged commit e461b81 into rust-lang:master Dec 19, 2020
@rustbot rustbot added this to the 1.50.0 milestone Dec 19, 2020
@JohnTitor JohnTitor deleted the rollup-a31s996 branch December 19, 2020 10:16
# for free to join this conversation on GitHub. Already have an account? # 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.

9 participants