Skip to content

Fix missing suggestion when matching String with &str#156796

Open
Kokoro2336 wants to merge 2 commits into
rust-lang:mainfrom
Kokoro2336:fix/match-str-sugg
Open

Fix missing suggestion when matching String with &str#156796
Kokoro2336 wants to merge 2 commits into
rust-lang:mainfrom
Kokoro2336:fix/match-str-sugg

Conversation

@Kokoro2336
Copy link
Copy Markdown
Contributor

@Kokoro2336 Kokoro2336 commented May 21, 2026

Fixes #156404

Add suggestion when matching String with &str

@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 May 21, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 21, 2026

r? @folkertdev

rustbot has assigned @folkertdev.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 73 candidates
  • Random selection from 18 candidates

@Kokoro2336 Kokoro2336 changed the title fix: missing suggestion when matching String with &str. fix: missing suggestion when matching String with &str May 21, 2026
@Kokoro2336 Kokoro2336 changed the title fix: missing suggestion when matching String with &str Fix missing suggestion when matching String with &str May 21, 2026
@rust-log-analyzer

This comment has been minimized.

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

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No suggestions offered when matching on a String

4 participants