Rollup merge of #52055 - crlf0710:patch-3, r=Mark-Simulacrum

Include VS 2017 in error message.

Update error prompt message to indicate that VS 2017 is supported (for a while now).
This commit is contained in:
kennytm 2018-07-06 08:50:29 +08:00
commit 3c21349e07
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C
1 changed files with 2 additions and 2 deletions

View File

@ -816,8 +816,8 @@ fn link_natively(sess: &Session,
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 or VS 2015 was installed \
with the Visual C++ option");
sess.note_without_error("please ensure that VS 2013, VS 2015 or VS 2017 \
was installed with the Visual C++ option");
}
sess.abort_if_errors();
}