Confusing additional errors following a [E0412]: cannot find type T
in this scope
#95408
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=c95a5c248a2a9b88242ae9bb08b1a836
The current output is:
The first error is great, but the other ones are quite strange. Ideally the output would not have them and look like:
Output is the same on stable and nightly
The text was updated successfully, but these errors were encountered: