Skip to content

Fix expect_fun_call suggests wrongly for string slicing#16752

Open
profetia wants to merge 1 commit intorust-lang:masterfrom
profetia:issue16747
Open

Fix expect_fun_call suggests wrongly for string slicing#16752
profetia wants to merge 1 commit intorust-lang:masterfrom
profetia:issue16747

Conversation

@profetia
Copy link
Copy Markdown
Member

@profetia profetia commented Mar 23, 2026

Closes #16747

changelog: [expect_fun_call] fix wrong suggestions for string slicing

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 23, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Mar 23, 2026

r? @llogiq

rustbot has assigned @llogiq.
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: 7 candidates
  • 7 candidates expanded to 7 candidates
  • Random selection from Jarcho, dswij, llogiq, samueltardieu

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid suggestion and fix for .expect(&format!("…")[..]) (clippy::expect_fun_call)

3 participants