From 33b58ebf22bed790dacf2ef82351a95883559b77 Mon Sep 17 00:00:00 2001 From: Ellis Hoag Date: Fri, 26 Aug 2022 20:50:37 -0700 Subject: Add LTONotSupported --- src/errors.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/errors.rs') diff --git a/src/errors.rs b/src/errors.rs index e0c7dca8e32..1b2953952ef 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -14,6 +14,10 @@ pub(crate) struct LinkageConstOrMutType { pub span: Span } +#[derive(SessionDiagnostic)] +#[diag(codegen_gcc::lto_not_supported)] +pub(crate) struct LTONotSupported {} + #[derive(SessionDiagnostic)] #[diag(codegen_gcc::unwinding_inline_asm)] pub(crate) struct UnwindingInlineAsm { -- cgit 1.4.1-3-g733a5