Rollup merge of #93192 - theidexisted:patch-1, r=wesleywiser

Add VS 2022 into error message
This commit is contained in:
Eric Huss 2022-01-30 08:37:50 -08:00 committed by GitHub
commit cee571e606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -932,7 +932,7 @@ fn link_natively<'a, B: ArchiveBuilder<'a>>(
but `link.exe` was not found",
);
sess.note_without_error(
"please ensure that VS 2013, VS 2015, VS 2017 or VS 2019 \
"please ensure that VS 2013, VS 2015, VS 2017, VS 2019 or VS 2022 \
was installed with the Visual C++ option",
);
}