about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/errors.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-06-20 17:44:11 +1000
committerZalathar <Zalathar@users.noreply.github.com>2024-06-24 20:15:01 +1000
commita000fa8b54c7502df36546d9344880062c622a3c (patch)
tree1a99d64f4a8c531af319f974abfd8b7829b609e7 /compiler/rustc_codegen_ssa/src/errors.rs
parentb5dfeba0e14c00c5cc91c935bad5633fa2df8461 (diff)
downloadrust-a000fa8b54c7502df36546d9344880062c622a3c.tar.gz
rust-a000fa8b54c7502df36546d9344880062c622a3c.zip
coverage: Tighten validation of `#[coverage(off)]` and `#[coverage(on)]`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/errors.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs
index e6ba31c5165..e9d31db9254 100644
--- a/compiler/rustc_codegen_ssa/src/errors.rs
+++ b/compiler/rustc_codegen_ssa/src/errors.rs
@@ -565,13 +565,6 @@ pub struct UnknownArchiveKind<'a> {
 }
 
 #[derive(Diagnostic)]
-#[diag(codegen_ssa_expected_coverage_symbol)]
-pub struct ExpectedCoverageSymbol {
-    #[primary_span]
-    pub span: Span,
-}
-
-#[derive(Diagnostic)]
 #[diag(codegen_ssa_expected_used_symbol)]
 pub struct ExpectedUsedSymbol {
     #[primary_span]