Skip to content

Suggest extra borrows for nested reference arguments - #162329

Merged
rust-bors[bot] merged 3 commits into
rust-lang:mainfrom
chenyukang:yukang-fix-78613-suggest-extra-borrow
Sep 6, 2026
Merged

Suggest extra borrows for nested reference arguments#162329
rust-bors[bot] merged 3 commits into
rust-lang:mainfrom
chenyukang:yukang-fix-78613-suggest-extra-borrow

Conversation

@chenyukang

@chenyukang chenyukang commented Sep 5, 2026

Copy link
Copy Markdown
Member

Fixes #78613

r? @estebank

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 5, 2026
@estebank

estebank commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

@bors r+

@rust-bors

rust-bors Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 6775c64 has been approved by estebank

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 6, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Sep 6, 2026
…t-extra-borrow, r=estebank

Suggest extra borrows for nested reference arguments

Fixes rust-lang#78613

r? @estebank
rust-bors Bot pushed a commit that referenced this pull request Sep 6, 2026
Rollup of 3 pull requests

Successful merges:

 - #161517 (coverage: Switch over to hybrid HIR-aware coverage spans )
 - #162030 (Prevent `--test` to be used in `rustdoc-html` testsuite)
 - #162329 (Suggest extra borrows for nested reference arguments)
@rust-bors
rust-bors Bot merged commit 397c478 into rust-lang:main Sep 6, 2026
13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Sep 6, 2026
rust-bors Bot pushed a commit that referenced this pull request Sep 6, 2026
Rollup merge of #162329 - chenyukang:yukang-fix-78613-suggest-extra-borrow, r=estebank

Suggest extra borrows for nested reference arguments

Fixes #78613

r? @estebank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggest adding & for "mismatched types: expected reference &&[&str], found reference &[&str]"

3 participants