mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
53f5294c0f
Remove Duplicate E0381 Label Aims to resolve https://github.com/rust-lang/rust/issues/129274, and adds a test for the case. Essentially, we are duplicating this span for some reason. For now, I'm just using a set to collect the spans rather than the vec. I imagine there's probably no real reason to inspect duplicates in this area, but if I'm wrong I can adjust to collect "seen spans" in just the point where this label is applied. I'm not sure why it's producing duplicate spans. Looks like this has been this way for a while? I think it gives the duplicate label on 1.75.0 for example. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |