about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-27 00:42:00 +0200
committerGitHub <noreply@github.com>2024-08-27 00:42:00 +0200
commit53f5294c0fe409cb83a6b993d495b6881729648b (patch)
tree5dad6d0e9d92ffe6f60ae08e5f3bfe0b335301ff /compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
parentd4d4b6b4fa76f67d2577f4f659891ce263d91bd5 (diff)
parente91f32829ccfb60e13fcb07dab4947c382a376c9 (diff)
downloadrust-53f5294c0fe409cb83a6b993d495b6881729648b.tar.gz
rust-53f5294c0fe409cb83a6b993d495b6881729648b.zip
Rollup merge of #129340 - stephen-lazaro:u/slazaro/issue-129274, r=compiler-errors
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
0 files changed, 0 insertions, 0 deletions