Unhelpful type annotations needed
when calling method on result of index op
#125924
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
Code
Current output
Desired output
Rationale and extra context
Should also probably explain that the index op's output type depends on the input type, so it needs to know what input type it is at this point.
Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: