Errors with the same span should only print the erroneous span once #4569
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
The following program:
produces the following output:
How noisy! All three errors have the exact same span, so rustc should be smart enough to only print the span once, like so:
The text was updated successfully, but these errors were encountered: