Port Instrument coverage requires llvm 12 to the new struct

This commit is contained in:
SLASHLogin 2022-08-25 23:08:18 +02:00
parent 05ae7ecb74
commit 4c625dc682
3 changed files with 9 additions and 1 deletions

View file

@ -42,3 +42,7 @@ pub(crate) struct ErrorCreatingImportLibrary<'a> {
pub lib_name: &'a str,
pub error: String,
}
#[derive(SessionDiagnostic)]
#[diag(codegen_llvm::instrument_coverage_requires_llvm_12)]
pub(crate) struct InstrumentCoverageRequiresLLVM12;