Improve diagnostics for multiple use
wildcards
#80333
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
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.
I tried this code:
I expected to see this happen: Import from wildcard of wildcard
Instead, this happened: It errors saying expected semicolon, then I realized that multiple
*
is not supported, but the error message should show that only one wildcard is supported.And then I tried
But I got another error
Which I guess using only one wildcard isn't true.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: