Detect invalid turbofish foo.bar::Type<T>()
in the parser
#74065
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The lexing & parsing of Rust source code to an AST
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Detect when the user has likely forgotten to wrap the type param with the type param delimiters:
where we currently emit:
The text was updated successfully, but these errors were encountered: