Poor error message when indexing result of dbg!() #68876
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Consider:
On nightly (2020-02-05) this yields the error:
Maybe the
help: to access tuple elements, use
part should either avoid printing the left-hand side of the dot operator, or use the span of the source file likehelp: to access tuple elements, use: 'dbg!(1, 3).1'
The text was updated successfully, but these errors were encountered: