Auto merge of #70873 - mark-i-m:update-rdg, r=JohnTitor

Update rustc-dev-guide

This should finally fix toolstate

r? @JohnTitor
This commit is contained in:
bors 2020-04-12 12:46:47 +00:00
commit 4d1fbaccb8
2 changed files with 4 additions and 2 deletions

@ -1 +1 @@
Subproject commit 66be765404efb82c6bc2735473cbd3472f777dc0
Subproject commit 7adfab42bab045a848126895c2f1e09927c1331a

View File

@ -108,7 +108,9 @@ pub fn linkcheck(
is_real_error = true;
}
Reason::UnsuccessfulServerResponse(status) => {
if status.is_client_error() {
if status.as_u16() == 429 {
eprintln!("Received 429 (TOO_MANY_REQUESTS) for link `{}`", link.link.uri);
} else if status.is_client_error() {
is_real_error = true;
} else {
eprintln!("Unsuccessful server response for link `{}`", link.link.uri);