Don't show the same help multiple times for object safety violations #117186
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-trait-objects
Area: trait objects, vtable layout
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
#116401 made it so that we report all object safety violations at the same time. However, it also results in a redundant note:
https://github.com/rust-lang/rust/pull/116401/files#diff-ea89a7ba6273e575f66679f7c4a10297572773dc805cc27eb6398f7c12527ab8R16
We should not add the same note multiple times.
The text was updated successfully, but these errors were encountered: