Vec<foo::bar:A>
(with single :
) in a struct field causes misleading errors
#94812
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.
Given the following code:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=43eaa091f27b11807fadff36c41b3945
The current output is:
Ideally the output should look like:
The text was updated successfully, but these errors were encountered: