-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CTFE: LongRunningWarn
is getting implicitly deduplicated
#118612
Comments
LongRunningWarn
is getting implcitly deduplicated LongRunningWarn
is getting implicitly deduplicated
I honestly don't remember if we want it to be repeated or not. Is there even a way for a single diagnostic to opt-out of deduplication? I guess we could put some number into the error message so that it's not the exact same diagnostic each time. |
yes, we have full ownership of rustc, we can the deduplication code to stop duplicating this single warning while keeping everything else the same 😁 |
@rustbot claim |
…iler-errors Prevent Deduplication of `LongRunningWarn` Fixes rust-lang#118612 As mention in the issue, `LongRunningWarn` is meant to be repeated multiple times. Therefore, this PR stores a unique number in every instance of `LongRunningWarn` so that it's not hashed into the same value and omitted by the deduplication mechanism.
…iler-errors Prevent Deduplication of `LongRunningWarn` Fixes rust-lang#118612 As mention in the issue, `LongRunningWarn` is meant to be repeated multiple times. Therefore, this PR stores a unique number in every instance of `LongRunningWarn` so that it's not hashed into the same value and omitted by the deduplication mechanism.
…iler-errors Prevent Deduplication of `LongRunningWarn` Fixes rust-lang#118612 As mention in the issue, `LongRunningWarn` is meant to be repeated multiple times. Therefore, this PR stores a unique number in every instance of `LongRunningWarn` so that it's not hashed into the same value and omitted by the deduplication mechanism.
Rollup merge of rust-lang#130665 - veera-sivarajan:fix-118612, r=compiler-errors Prevent Deduplication of `LongRunningWarn` Fixes rust-lang#118612 As mention in the issue, `LongRunningWarn` is meant to be repeated multiple times. Therefore, this PR stores a unique number in every instance of `LongRunningWarn` so that it's not hashed into the same value and omitted by the deduplication mechanism.
I tried the following code:
output after running for a very long time:
modify rustc as follows results in the following output:
changing the invocation to
cargo rustc -- -Zdeduplicate-diagnostics=no
actually prints the warning at each power of two of steps.This warning should not be affected by
deduplicate-diagnostics
. It's whole point is to be repeated multiple times.cc @oli-obk @RalfJung
The text was updated successfully, but these errors were encountered: