Wrong error location when slicing a slice #101796
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.
The current output is:
Ideally the output should look like:
The error location should be in main.rs, and not library/core/.../index.rs
The text was updated successfully, but these errors were encountered: