Skip to content

Commit

Permalink
Auto merge of #70873 - mark-i-m:update-rdg, r=JohnTitor
Browse files Browse the repository at this point in the history
Update rustc-dev-guide

This should finally fix toolstate

r? @JohnTitor
  • Loading branch information
bors committed Apr 12, 2020
2 parents 32fb4dc + 0d9bf52 commit 4d1fbac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/doc/rustc-dev-guide
Submodule rustc-dev-guide updated 84 files
+3 −0 .gitignore
+1 −1 .travis.yml
+63 −7 README.md
+102 −0 examples/rustc-driver-example.rs
+44 −27 src/SUMMARY.md
+25 −10 src/about-this-guide.md
+2 −2 src/appendix/bibliography.md
+6 −6 src/appendix/code-index.md
+78 −77 src/appendix/glossary.md
+2 −2 src/appendix/humorust.md
+0 −417 src/appendix/stupid-stats.md
+6 −0 src/ast-validation.md
+2 −2 src/backend/backend-agnostic.md
+76 −0 src/backend/codegen.md
+1 −1 src/backend/debugging.md
+57 −0 src/backend/lowering-mir.md
+93 −0 src/backend/monomorph.md
+0 −0 src/backend/updating-llvm.md
+2 −2 src/borrow_check.md
+8 −8 src/borrow_check/moves_and_initialization/move_paths.md
+1 −1 src/borrow_check/region_inference.md
+1 −1 src/borrow_check/region_inference/constraint_propagation.md
+2 −2 src/borrow_check/region_inference/lifetime_parameters.md
+3 −3 src/borrow_check/two_phase_borrows.md
+9 −8 src/bug-fix-procedure.md
+1 −1 src/building/compiler-documenting.md
+7 −7 src/building/how-to-build-and-run.md
+1 −1 src/building/suggested.md
+7 −7 src/closure.md
+0 −54 src/codegen.md
+280 −0 src/codegen/implicit-caller-location.md
+9 −10 src/compiler-debugging.md
+2 −3 src/compiler-src.md
+2 −3 src/compiler-team.md
+3 −4 src/compiletest.md
+1 −1 src/conventions.md
+3 −3 src/diagnostics.md
+3 −0 src/feature-gate-ck.md
+5 −5 src/generics.md
+10 −10 src/hir.md
+13 −0 src/ice-breaker/about.md
+1 −1 src/ice-breaker/llvm.md
+1 −1 src/implementing_new_features.md
+5 −0 src/licenses.md
+1 −1 src/lowering.md
+1 −1 src/macro-expansion.md
+6 −6 src/memory.md
+1 −1 src/mir/construction.md
+5 −5 src/mir/index.md
+3 −3 src/mir/optimizations.md
+2 −2 src/mir/visitor.md
+6 −6 src/miri.md
+6 −3 src/name-resolution.md
+3 −0 src/overview.md
+2 −2 src/panic-implementation.md
+49 −10 src/param_env.md
+1 −1 src/part-1-intro.md
+13 −10 src/part-2-intro.md
+8 −0 src/part-3-intro.md
+12 −0 src/part-4-intro.md
+52 −0 src/part-5-intro.md
+7 −0 src/pat-exhaustive-checking.md
+1 −1 src/profiling.md
+5 −5 src/profiling/with_perf.md
+97 −27 src/queries/incremental-compilation-in-detail.md
+2 −2 src/queries/incremental-compilation.md
+1 −1 src/queries/profiling.md
+5 −4 src/queries/query-evaluation-model-in-detail.md
+9 −8 src/query.md
+45 −0 src/rustc-driver-interacting-with-the-ast.md
+9 −10 src/rustc-driver.md
+8 −0 src/syntax-intro.md
+17 −16 src/test-implementation.md
+12 −12 src/tests/intro.md
+1 −2 src/tests/running.md
+1 −1 src/the-parser.md
+2 −2 src/traits/associated-types.md
+1 −1 src/traits/chalk-overview.md
+3 −3 src/traits/goals-and-clauses.md
+1 −1 src/traits/hrtb.md
+7 −7 src/ty-fold.md
+20 −24 src/ty.md
+16 −8 src/type-inference.md
+2 −2 src/walkthrough.md
4 changes: 3 additions & 1 deletion src/tools/rustbook/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4d1fbac

Please sign in to comment.