Poor diagnostics for [T, N] turbofish instead of [T; N] #81097
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.
Minimal example:
(Playground)
Errors:
Here, there actually isn't an unmatched angle bracket; the issue is that
[(), 0]
isn't a type, and that it should be[(); 0]
. There might be other cases where this mistake causes awkward errors that might need fixing too, but this is just what I found.The text was updated successfully, but these errors were encountered: