Incorrect argument index highlighting an error for type mismatch on static trait function calls #122938
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Playground link
Creates the following error:

rustc --version --verbose
:The text was updated successfully, but these errors were encountered: