Error diagnostics for lints are duplicated with -Z unstable-options
#82638
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code: https://github.com/rust-lang/rust/blob/573a697a6197abaad5a2d7208dbf1bbc77f4dcf3/src/test/ui/deduplicate-diagnostics.rs
I expected to see this happen: The same error output with and without
unstable-options
.Instead, this happened: One of the errors is duplicated three times instead of only twice:
There are many other affected tests, see 3205303 for details.
cc @petrochenkov, do you know what's going wrong here?
The text was updated successfully, but these errors were encountered: