]> git.lizzy.rs Git - rust.git/commitdiff
Add mention of VS 2019 in link error output.
authorCrLF0710 <crlf0710@gmail.com>
Fri, 21 Jun 2019 10:13:41 +0000 (18:13 +0800)
committerCrLF0710 <crlf0710@gmail.com>
Mon, 24 Jun 2019 11:51:35 +0000 (19:51 +0800)
src/librustc_codegen_ssa/back/link.rs

index 0ba5451bd72f52a2e8cfe9a92fd6b324064fbaee..6789f35ff4934225425384ea857cb2d1281494a5 100644 (file)
@@ -630,10 +630,14 @@ fn escape_string(s: &[u8]) -> String {
             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();
         }