Rustc reports 318 errors in a program with only 26 errors. #46125
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
WG-diagnostics
Working group: Diagnostics
This bug was encountered when updating a dependency; the dependency had removed 2 methods, so there were errors for the 26 places those two methods were used.
That's fine. The other 292 errors are nonsensical knock-on errors, and the compiler should not mention them. Additionally, the nonsense errors are displayed after the real errors, but it's often the last errors that are most apparent to the user.
The text was updated successfully, but these errors were encountered: