Add CI step to prevent new untranslatable diagnostics being added#111218
Add CI step to prevent new untranslatable diagnostics being added#111218clubby789 wants to merge 1 commit intorust-lang:masterfrom
Conversation
|
(rustbot has picked a reviewer for you, use r? to override) |
|
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
This comment has been minimized.
This comment has been minimized.
fcc1ba4 to
c8a3051
Compare
|
Ideally this would also work with |
|
Hmm, this doesn't seem to work right now. I'm guessing the first set of warnings hit @rustbot author |
|
@rustbot ready |
c8a3051 to
494c353
Compare
|
I'm not a fan of this approach. I think it would be better to start with adding allow's to all crates/modules that have this problem and then gradually remove those when we're ready with that crate. r? @davidtwco |
|
☔ The latest upstream changes (presumably #110152) made this pull request unmergeable. Please resolve the merge conflicts. |
|
I'm a bit worried that moving to |
Apologies for the delay in replying here, but I think I agree with @Mark-Simulacrum that adding allows would be a slightly nicer approach, requiring less new machinery. It's a little bit more up-front work if we wanted to add comments to everything, but we could start with a coarser approach of just adding |
|
@clubby789 |
|
Sorry, missed the ping. Closing now in favour of #120693 |
This is in order to prevent new untranslatable diagnostics from being added, as this requires additional work to migrate them later on.