Description
Follow up to #12374
That PR added the -Zdeduplicate-diagnostics=yes flag to the following test files, to suppress the warning that will now be produced should new lints/tests emit duplicated diagnostics. Old lints should still be cleaned up though. Those are the test files that were affected:
To fix some of those:
- Pick one test and leave a comment about it
- Remove the
-Zdeduplicate-diagnostics=yes flag from it
- Figure out the cause of duplicated diagnostic
- Fix it and write a comment here so that it gets marked as resolved.
Version
No response
Additional Labels
No response
Description
Follow up to #12374
That PR added the
-Zdeduplicate-diagnostics=yesflag to the following test files, to suppress the warning that will now be produced should new lints/tests emit duplicated diagnostics. Old lints should still be cleaned up though. Those are the test files that were affected:tests/ui/assign_ops2.rstests/ui/else_if_without_else.rstests/ui/identity_op.rstests/ui/indexing_slicing_index.rstests/ui/manual_retain.rstests/ui/many_single_char_names.rstests/ui/min_rust_version_invalid_attr.rstests/ui/mut_mut.rstests/ui/no_effect_replace.rstests/ui/nonminimal_bool_methods.rstests/ui/nonminimal_bool.rstests/ui/option_option.rstests/ui/ptr_as_ptr.rstests/ui/renamed_builtin_attr.rstests/ui/single_match_else.rstests/ui/single_match.rstests/ui/std_instead_of_core.rstests/ui/suspicious_operation_groupings.rstests/ui/type_complexity.rstests/ui/unknown_attribute.rsTo fix some of those:
-Zdeduplicate-diagnostics=yesflag from itVersion
No response
Additional Labels
No response