about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCrLF0710 <crlf0710@gmail.com>2019-06-21 18:13:41 +0800
committerCrLF0710 <crlf0710@gmail.com>2019-06-24 19:51:35 +0800
commit1e9e4b0a7acce29ab00c3e5cc51dc5fbf650807d (patch)
tree7d4a13ff99a01f4e8f07266c24956f6ba34f0814 /src
parentdbec74ffa7982de8e066a93969ce70a891d7908b (diff)
downloadrust-1e9e4b0a7acce29ab00c3e5cc51dc5fbf650807d.tar.gz
rust-1e9e4b0a7acce29ab00c3e5cc51dc5fbf650807d.zip
Add mention of VS 2019 in link error output.
Diffstat (limited to 'src')
-rw-r--r--src/librustc_codegen_ssa/back/link.rs12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/librustc_codegen_ssa/back/link.rs b/src/librustc_codegen_ssa/back/link.rs
index 0ba5451bd72..6789f35ff49 100644
--- a/src/librustc_codegen_ssa/back/link.rs
+++ b/src/librustc_codegen_ssa/back/link.rs
@@ -630,10 +630,14 @@ fn link_natively<'a, B: ArchiveBuilder<'a>>(sess: &'a Session,
             linker_error.emit();
 
             if sess.target.target.options.is_like_msvc && linker_not_found {
-                sess.note_without_error("the msvc targets depend on the msvc linker \
-                    but `link.exe` was not found");
-                sess.note_without_error("please ensure that VS 2013, VS 2015 or VS 2017 \
-                    was installed with the Visual C++ option");
+                sess.note_without_error(
+                    "the msvc targets depend on the msvc linker \
+                     but `link.exe` was not found",
+                );
+                sess.note_without_error(
+                    "please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 \
+                     was installed with the Visual C++ option",
+                );
             }
             sess.abort_if_errors();
         }