about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/errors.rs
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2024-05-21 18:17:05 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2024-05-23 15:47:35 +0000
commitd64a8bd1e55bd4be1e506792eabd812716d31765 (patch)
treeb9a552928049e5cdcb58c25ca3e83d089b272c4a /compiler/rustc_codegen_ssa/src/errors.rs
parentfab28f2a4d0bd394546cc37417c7b8aa4ecc1a21 (diff)
downloadrust-d64a8bd1e55bd4be1e506792eabd812716d31765.tar.gz
rust-d64a8bd1e55bd4be1e506792eabd812716d31765.zip
emit an error if we can't find a path to the self-contained linker
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/errors.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs
index ed6a0c24410..3641e7842cf 100644
--- a/compiler/rustc_codegen_ssa/src/errors.rs
+++ b/compiler/rustc_codegen_ssa/src/errors.rs
@@ -414,6 +414,10 @@ pub struct UnableToExeLinker {
 pub struct MsvcMissingLinker;
 
 #[derive(Diagnostic)]
+#[diag(codegen_ssa_self_contained_linker_missing)]
+pub struct SelfContainedLinkerMissing;
+
+#[derive(Diagnostic)]
 #[diag(codegen_ssa_check_installed_visual_studio)]
 pub struct CheckInstalledVisualStudio;